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

Wait, seriously? I sign all my commits as habit and I `--amend` regularly. If this means my signature histories are broken…


  git config commit.gpgsign true


This is great! Thanks! I'll use the global setting:

    git config --global commit.gpgsign true


I already have this set, which is how I sign all my commits. If that ensures `git commit --amend` re-signs, then I'm happy.


AFAIK, it does.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: