How to use git pull --rebase to keep your team's commit history clean.
Command for creating the 'git pr' alias (so you can copy-paste):
git config --global alias.pr "pull --rebase"
Thank you to Bruno Paulino, Ben Freundorfer, and Jonas Geiler for reviewing drafts of this video and their feedback!
Video Contents:
0:00 - Never use git pull
0:43 - Why not git pull?
1:40 - Using git pull --rebase
2:11 - Dealing with conflicts
2:52 - Final tips and summary
LEGAL DISCLAIMER
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Everything here is for informational purposes only. All non-licensed clips used for fair use commentary, criticism, and educational purposes. See Hosseinzadeh v. Klein, 276 F.Supp.3d 34 (S.D.N.Y. 2017); Equals Three, LLC v. Jukin Media, Inc., 139 F. Supp. 3d 1094 (C.D. Cal. 2015).