There are some simple guide lines, the way I see it. Pleae correct me if I 
got it wrong.

Suppose you have  a local repo, and a global that you push to. The rule is 
to be careful when you remove commits that are already pushed to the global 

For example, "git commit --amend" will remove a commit and replace it with a 
new one. This could lead to problems if the previous commit was pushed. The 
"git rebase" will also remove commits from one point, and add new commit 
elsewhere. There are other ways in git to remove commits, like "git reset 
--hard". So it is not only about "git rebase".

And as Konstantin says, rewriting the tree is ok if the team that use the 
repo knows about it.

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
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to