On Sunday, August 21, 2011 11:41:50 PM UTC+2, Peter J Weisberg wrote:
> There's nothing necessarily wrong with merge commits, but if you want to 
> straighten out your history before you push:
> $ git fetch origin
> $ git rebase origin/branch
You can also do it in one command like this:

$ git pull --rebase

We try to avoid merge-commits because we think history looks tidier that 
way. So we do the above quite a lot. 

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To view this discussion on the web visit 
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to