3 ms·
For me, there should be a balance between the detail of history and the usefulness of the information. For the changes I do, not only I rebase them all in a si
by Shorel 4y ago
For me, there should be a balance between the detail of history and the usefulness of the information.
For the changes I do, not only I rebase them all in a single commit, I don't even merge branches. I cherry-pick my changeset. Clean commits, clean history.
Whatever I do before a push is my business and no one's else.
For anyone else changes, that's it, anyone who is not me: history is untouchable. No rebases, no squash, whatever it is already pushed, must stay as it is.
When I do a pull: git stash, git pull --rebase, git stash pop
I encourage everyone to clean their commits before a push. A clean history is a good history.