Please set GPG signature for your Git commits

Hey @staff,

Here’re a few instructions:

Also, use your @dgraph.io email ids, and set them as your primary email ids on Github.

This is how it looks with a verified commit. Neat, eh!

Also, a long explanation of why you should do this (I haven’t read it yet):
https://mikegerwitz.com/papers/git-horror-story.html

1 Like

Git settings for signing every commit:

$ git config --global user.signingkey yourself@dgraph.io
$ git config --global commit.gpgsign true

This is my current ~/.gitconfig:

[user]
	email = manish@dgraph.io
	name = Manish R Jain
	signingkey = CD6EACA4
[push]
	default = simple
[commit]
	gpgsign = true
[core]
	editor = vim
[alias]
	l = log --format='%Cgreen [%h %G?] %Creset [%<(20,trunc)%ae] [%<(60,trunc)%s] %Cred [%>(13,trunc)%ar]'

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.