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

You're supposed to sign a tag because you've reviewed that tag, not just at random. A commit is much less meaningful - do you always check the diff before you commit?


Do people not check the diff before they commit?


I almost always check the diff before committing (I use git diff --cached more often than plain git diff)


`git config alias.staged 'diff --cached'` was the first alias I ever created.

Even for one-line changes I compulsively check `git staged` before committing.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: