On Thu, May 13, 2010 at 12:14 PM, Rick DeNatale <rick.denat...@gmail.com>wrote:

> I've accepted the warning that you shouldn't rebase a branch unless it
> has never been pushed to a shared repository since it can wreak havoc
> on others who have pulled the branch.
>

For clarity, if you check out a public branch that has been pushed, then
make your own changes to it, it's OK to rebase those changes before pushing
them. It's only commits that have been pushed (by you or anyone else) that
should not be rebased.

I haven't used git pull --rebase, but my understanding is that it will only
rebase your local, unpushed changes, so it ought to be fine.

-P.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-us...@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to