On Mar 25, 9:37 pm, Charles Manning <mannin...@actrix.gen.nz> wrote:

> Due to my git noobness I ended up putting some changes in the wrong commit and
> then pushed.
>
> I would like to rebase to fix up the commit messages. Will I break things if I
> then push the resulting commits?

It solely depends on whether the branch you have pushed to is tracked
by other people or not. If it is, it will certainly break things for
those people. If that branch is "just yours" for any reason, you can
do whatever you want with it.

In short, it's more a political question rather than technical.
Sometimes it's better to replace a branch in the shared repo having
discussed this move and its outcome with all the developers who share
the repo.

-- 
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