- May 8, 2015
- 967
- 934
- 211
A few days ago i saw a commit by someone having a
checkmark. And i was like "This is cool, i want it too xD". So i started browsing github's FAQ searching for it. Sadly the first site i found told me
And i was like "F*CK YOU GITHUB". So i figured it out myself (Had some problems and a short email conv with the guy that i first saw the checkmark on) and now i'm going to share it with you


And i was like "F*CK YOU GITHUB". So i figured it out myself (Had some problems and a short email conv with the guy that i first saw the checkmark on) and now i'm going to share it with you
- Add a new user/system variable %GNUPGHOME%
- (Restart your PC)
- Get and install GPG4Win.
- Add a new OpenPGP Key Certificate with Kleopatra [It was installed with GPG4Win] (The email must match your github login email) (DON'T PASSWORD PROTECT IT [JUST LEAVE THE PASSWORD FIELD EMPTY])
- Check if everything worked by taking a look at the %USERPROFILE%\.gnupg folder (It should be full of files)
- Now open a command line and enter gpg --armor --export <your github login email>
- (If nothing comes up try to find your key with gpg --list-secret-keys --keyid-format LONG)
- Copy the output in your clipboard,open https://github.com/settings/keys, click on "New GPG key", paste the block of text in there and click "Click add GPG key".
- Open Github Desktop, rightclick on any repo and click on "Open in Git Shell". It should bring up a window like this.
- Enter git config --global --edit and check if the following entries already exist. If not, add them!
Code:[user] name = <YOUR GITHUB NAME> email = <YOUR GITHUB LOGIN EMAIL> signingkey = <YOUR SHORT KEY HASH> [commit] gpgsign = true
- Repeat the same with git config --system --edit.
- Restart your github desktop and maybe your pc and try a test commit.
- Enjoy
Last edited by a moderator: