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

3

u/johndbritton Jun 19 '15

You can consider your history to be another form of documentation. It's a way of looking back at the thought process past developers went through to solve a problem. That's why it's beneficial to keep your history organized and "clean."

2

u/Netzapper Jun 19 '15

Ah. Yeah, I have actual design documentation for that. We only use edit logs when audited.

Also, I don't believe that anybody looks at edit logs as documentation. They provide a history, true; but you'd have to read the whole thing from the beginning to the end to understand the current state of the system. So while somebody could read the logs and discover something about the "thought process [of] past developers", nobody ever will. It's clumsy at best.

2

u/mflood Jun 19 '15

If no one reads the git log, what's the harm in squashing small commits together? You don't lose the change history, just the separate commit messages that you don't think people will read.

1

u/Netzapper Jun 19 '15

The auditors read the git log. I've just never seen a developer use it for anything but bisecting a bug.

→ More replies (0)