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

I've really welcomed the recent GitHub features such as "squash & merge" and "rebase & merge". Instead of parsing through 200 commits of "typo", "lint", "spacing", a feature is placed in a compact diff with the feature title & related task id as the commit message.

A commit should be a unit of work. Tests should pass before and after. The commit message should describe the change. Ensuring that you have a good commit message then influences what content you contain in a commit.



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

Search: