Last active
May 15, 2025 08:57
-
-
Save xavierlepretre/8700107182f7a6fb94932245c535c33f to your computer and use it in GitHub Desktop.
Sign your last commit with GPG, when the private key is protected with a passphrase.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GPG_TTY=$(tty) git commit --amend --no-edit -n -S | |
# The GPG identity email should match the committer email. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment