Skip to content

Instantly share code, notes, and snippets.

@neuronsoverflow
Created January 2, 2020 18:55
Show Gist options
  • Select an option

  • Save neuronsoverflow/f03ed80350c6dc1cabec9dd1936d4e43 to your computer and use it in GitHub Desktop.

Select an option

Save neuronsoverflow/f03ed80350c6dc1cabec9dd1936d4e43 to your computer and use it in GitHub Desktop.
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