Many tiny well-described commits tells me more than a big ball of red/green in my diff tool when I need to answer the question, "What the hell were they thinking!?"
I believe because you lose the history. A commit that creates an entire subsystem is useless but the history that got it there might be important some day.
The "correct" workflow is the one that works for you. It might even change over time as what worked for you in the past no longer works for you.
Personally, I hate squashing, because it makes diffs much harder to read if you ever want to go back and see what happened. Especially so when refactoring is involved, or renaming/moving files.
0
u/StenSoft Jun 19 '15
What I really didn't understand about GitFlow, is why it uses merge --no-ff instead of squash. Shouldn't the correct workflow be one fix = one commit?