by esaym · 10y ago · 0 comments
I normally always do git pull --rebase. Is that bad or what is being talked about here? I never liked normal 'git pull' as it muddies up the logs with merge commit messages if there are changes upstream.
Most docs say pull with rebase is cleaner[1]
[1]http://gitready.com/advanced/2009/02/11/pull-with-rebase.htm...
I have been seen only issues and completely messed up git histories when some other colleague completely refused to do pull+rebase, arguing was not professional.
So, in my experience, you will have problems if in your team does pull+rebase and other does a simple pull :)
The problem arises when, you rebase commits which have already been shared. The smoking gun is that you need to force-push, i.e., rewriting someone else's history (in other words "messing" up someone's chain of commits.)
[1] - http://longair.net/blog/2009/04/16/git-fetch-and-merge/