I am in the middle of a major code refactoring.
I use git for versioning.
- The first commit introduces major changes.
- Another commit adds new feature based on the new changes.
- The third commit renames a major file and adds a few minor accompanying changes.
- The fourth commit does another set of big changes to all the previously touched files based on feedback from code review.
Is there any trick to avoid the massive amount of conflicts when I split the last commit into 3, reorder commits and squash them so I only have the first 3 commits?
