Skip to content

Instantly share code, notes, and snippets.

@matthewhartstonge
Created May 30, 2018 09:11
Show Gist options
  • Save matthewhartstonge/67655be0a73291ac2b3ee34ac9ab0c74 to your computer and use it in GitHub Desktop.
Save matthewhartstonge/67655be0a73291ac2b3ee34ac9ab0c74 to your computer and use it in GitHub Desktop.
Config git for WinGPG
REM If you haven't globally set up git, ensure your git user.email is the same as the email used for your signing key.
REM git config --global user.name My Name
REM git config --global user.email [email protected]
git config --global user.signingkey Y0UR51GN1NGK3Y
git config --global commit.gpgsign true
git config --global gpg.program "C:\Program Files (x86)\GnuPG\bin\gpg.exe"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment