Software Development Questions

Refactoring

Question

How does refactoring interact with version control?

After every change that leads to a passing test.

Problem: This leads to a bunch of commits. That’s hard to track on a high level.

Solution: “Squash the commits into a more significant commit”

To Do

Learn how to squash commits