http://michaeldehaan.net/post/116465000577/understanding-whe...
http://michaeldehaan.net/post/116465000577/understanding-whe...
Is this really interesting for you that it took me 10 commits to do sO ? Even if one of the commits was just a "I have to switch an fix a bug and want to commit before switching to another branch" - commit ?
I think there is nothing wrong with rebasing and to merge commits before pusing them.
AFAIK rebase is the only operation that happily destroys your history without any --force or --hard option. It always disturbed me.
There is a legitimate usage of rebase though: you really want something removed from history. Like you accidentally committed a secret, inappropriate message or you just want to fix a typo in the last commit.
This is SUPREMELY valuable for OSS patch workflow and I absolutely love git for having it.