by kosinus · 9y ago · 0 comments
Unless you're working on a topic branch together with another dev, but I find that rarely happens in practice.
Once my refactoring was complete I squashed it into a single commit to prepare to merge (or rebase) into master. I don't really think it's useful to keep the history of how I implemented that refactoring. Squashing it into a single commit is far easier to revert then if I merged multiple commits into master.