|
|
|
|
|
by brusch64
4054 days ago
|
|
We had the same discussion in my office.
If I am developing a feature (in a separate branch) - why shouldn't I rebase to make a single commit out of this feature ? 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.