No overview provided yet.
-
Add your SSH public key into your github account, right in [Github -> Settings -> Keys].
-
in terminal type the following:
git config --global gpg.format ssh- and then:
git config --global user.signingKey /path/to/ssh/keyReplace the
/path/to/ssh/keyto the full path of your SSH key such as/home/$USER/.ssh/id_rsa.pem
- and then:
git config --global commit.gpgSign trueThis command will sign at the commit level.
Without this step, you will need to use
-Sflag withgit commit, as followsgit commit -S -m "msg"
Happy Commiting