INT 21h

Hi, I am Vladimir Smagin, SysAdmin and Kaptain. Telegram Email / GIT / RSS / GPG

GIT: sign your commit with GPG

№ 9363 В разделах: Programming Sysadmin от September 4th, 2018,
В подшивках: , ,

Yes, you can sign your commits! GIT supports it out of the box.

Sample signed commit
At first, create your secret and public keys, I wrote earlier about it (for english speaking users).

Check your keys gpg --list-keys

Add your fingerprint to your git configuration

$ git config --global user.signingkey A37721C3

Now you can sign your commits!

$ git commit -a -S -m 'fixed bugs, added new'

Here you can read full git documentation about this great feature. Auto-signing of all your commits

Нет комментариев »

Leave a Reply

Your email address will not be published. Required fields are marked *



Fortune cookie: "In nature there are neither rewards nor punishments; there are consequences." [Robert Ingersoll, "Some Reasons Why", 1881]