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

every single commit I push has an entire paragraph or two clearly describing the changes, and the motivation behind them

Similar here, but: looking back at a couple of years ago I obviously went through a phase where I was just writing complete paragraphs for the sake of making sure the commit looks meaty. So now I treat messages the same as code: code not written is good. If a one-iner is enough to explain why something was done, and the changes in the code speak for themselves, than that's it.

even if it's a one-line diff.

By now you probably figured the size of the diff doesn't seem to have much of a relationship with the amount of commit message needed :)



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

Search: