Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

See also

    git log --no-merges --first-parent
I don't get the "no merge commits" argument - git log has dozens of options allowing you to bend it to your use case.

To address the grand parent that "a clean history is has no merge commits" I would argue that a clean history is also a lie if you're working in a branching workflow (hint: you should be working in that most of the time).

If you want to avoid (note: not eliminate) merge commits then make sure to rebase against master before merging, and then ensure merges are fast-forward merges.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: