diff options
author | François Kooman <fkooman@tuxed.net> | 2018-05-24 11:38:12 +0200 |
---|---|---|
committer | François Kooman <fkooman@tuxed.net> | 2018-05-24 11:38:12 +0200 |
commit | de22341cf6a4793142073b7e111b18779c12b65a (patch) | |
tree | 35d734ac3c44b46996ed8e00d330d422ca31c368 /posts/git_sign.md | |
parent | 722a9b6a395bfdd266b5466c509299ae0251c946 (diff) | |
download | www.tuxed.net-de22341cf6a4793142073b7e111b18779c12b65a.zip www.tuxed.net-de22341cf6a4793142073b7e111b18779c12b65a.tar.gz www.tuxed.net-de22341cf6a4793142073b7e111b18779c12b65a.tar.xz |
update posts
Diffstat (limited to 'posts/git_sign.md')
-rw-r--r-- | posts/git_sign.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/posts/git_sign.md b/posts/git_sign.md new file mode 100644 index 0000000..0a164d7 --- /dev/null +++ b/posts/git_sign.md @@ -0,0 +1,19 @@ +--- +title: Signing Git Commits +published: 2018-05-11 +--- + +What a mess! This is my `$HOME/.gitconfig` that seems to make everything work. +As my keyring only works with `gpg2` and not with `gpg` you also have to set +`gpg.program`. + +``` +[user] + email = fkooman@tuxed.net + name = François Kooman + signingKey = 6237BAF1418A907DAA98EAA79C5EDD645A571EB2 +[commit] + gpgSign = true +[gpg] + program = /usr/bin/gpg2 +``` |