7 ms·
Why not just `git fetch; git rebase origin/master`?
by tokenizerrr 9y ago
Why not just `git fetch; git rebase origin/master`?
- jph 9y agoPersonal preference. I prefer to get the local master up to date first. A more-sophisticated alias would/could verify that the local master is buildable, testable, etc. before doing the rebase. What I like most about using aliases for topic branches (a.k.a. feature branches) is that any team can define its preferred workflow and encapsulate it.
- evilstiefel 9y agoThis might also be "dangerous" if git is set to the matching scheme instead of simple, since you don't just pull origin master. I guess anybody simply copying these from here should just be aware and be careful of what they just paste :D.