INT 21h

Hi, I am Vladimir Smagin, SysAdmin and Kaptain. Telegram Email / GIT / Микроблог / Thingiverse / 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 git.blindage.org/commit/e1a24a6814082efb74cbad924c68a40b505f4e74
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 https://gist.github.com/mort3za/ad545d47dd2b54970c102fe39912f305.

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

Leave a Reply

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

*

Яндекс.Метрика

Fortune cookie: If you find for your verse there's no call, And you can't afford paper at all, For the true poet born, However forlorn, There is always the lavat'ry wall.