Skip to content

Instantly share code, notes, and snippets.

Avatar
:atom:
Working on private projects

Xavier Foucrier xavierfoucrier

:atom:
Working on private projects
View GitHub Profile
@xavierfoucrier
xavierfoucrier / gpg-signing.md
Last active Jun 17, 2021
GPG signing with Git and Github Desktop
View gpg-signing.md

Hi Github users,

You can now signed your commits on Github using at least Git 2.18.0 and Github Desktop 1.6.1.

  1. Generate a GPG key and add it to Github: https://help.github.com/articles/generating-a-new-gpg-key (if you don't want to type a passphrase on every commit, you need to press "Enter" when the console will prompt you to type a passphrase)

  2. Configure Git properly by editing the .gitconfig file using the command line git config --global --edit in a terminal, then replace YOUR_GITHUB_EMAIL, YOUR_SIGNING_KEY and GPG_BINARY_PATH with your data