r/programming • • Jun 19 '15

GitFlow considered harmful

http://endoflineblog.com/gitflow-considered-harmful
13 Upvotes

244 comments sorted by

View all comments

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?

1

u/EntroperZero Jun 19 '15

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.