Skip to content

Instantly share code, notes, and snippets.

View mmikhan's full-sized avatar

Md Mazedul Islam Khan mmikhan

View GitHub Profile
@mmikhan
mmikhan / gpg.md
Created February 21, 2017 12:19 — forked from LauLaman/gpg.md
Use GPG to sign commits using git & PHPStorm

1 - install GPG tools : https://gpgtools.org/

2 - Create new key for your github email

3 - Add key to git on your local machine: git config --global user.signingkey YOURKEY

4 - configure git to sign all commits: git config --global commit.gpgsign true

5 - add to the bottom of ~/.gnupg/gpg.conf: