r/programming • • Jun 19 '15

GitFlow considered harmful

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

244 comments sorted by

View all comments

Show parent comments

1

u/julesjacobs Jun 19 '15

I think the problem here is with the tools that display the history. Rather than rewriting history they should have the ability to display several related commits as one combined commit.

1

u/ForeverAlot Jun 19 '15

How do you propose to distinguish related commits that need to be display-squashed from related commits that are purposefully separate?

1

u/julesjacobs Jun 19 '15

You would explicitly group related commits into one combined entity, but you would not lose the fact that the group is composed of individual commits. Annotate history rather than rewrite it.