Skip to content

Instantly share code, notes, and snippets.

@pwnsdx pwnsdx/git.sh
Last active Jun 10, 2019

Embed
What would you like to do?
Sign commits automatically on macOS Sierra and Github Desktop
# Install GPG Tools 2 and generate your PGP keys
# Add the public key in your Github account
# Get your long id by doing: gpg --list-keys --keyid-format long
# Execute this:
# Ty https://github.com/Microsoft/vscode/issues/5065#issuecomment-207960831
git config --global user.signingkey [LONG KEY ID] && git config --global commit.gpgsign true && git config --global gpg.program gpg2; echo 'no-tty' >> ~/.gnupg/gpg.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.