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

Signed-off-by is automatically added to commits if you add "-s" to the git commit command. In addition, git format-patch (and thus git send-email) already adds [PATCH X/Y] to the subject line (prepended to the short commit message).

Which part of this needs to be better scripted?



Adding -s every time is too much work, so I added this to my git config instead:

  [format]
          signOff = true


Just don't add it to global config


The entire part where this shit happens using email.


% git send-email

Wow. So hard. So many characters.




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

Search: