I\'ve been looking into rebasing with Git over the past couple days. Most of the arguments for rebasing say that it cleans up the history and makes it more linear. If you do
If you make a mistake on a public repository and no one has forked/merged/pulled from it yet, you can save face and confusion:
git reset --hard [SHAnumber] git rebase -f master git push -f origin HEAD:master
To empty the trash:
git gc