Created
January 2, 2020 18:55
-
-
Save neuronsoverflow/f03ed80350c6dc1cabec9dd1936d4e43 to your computer and use it in GitHub Desktop.
Sign commits automatically on macOS Sierra and Github Desktop
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
| # 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