Skip to content

Latest commit

 

History

History
36 lines (20 loc) · 1.47 KB

File metadata and controls

36 lines (20 loc) · 1.47 KB

To get started you need to generate an GPG key pair, in case you don't have one.

To generate a GPG key, we use the command
gpg --full-generate-key

you will get a prompt with steps to follow as shown below:

new1

if you face any difficulty, can check this link for more details generating GPG keys

assuming you have created the key and copied as indicated in the github-documentation, you need to add the key to your github account

click on the image icon at top right as on the image

image1

click on the 'settings' option

next

take the 'SSH and GPG keys' option

image2

then click on 'New GPG key'

new2

input a title name, then finally you use ctrl v to paste the key you copied

new3

After that you press on Add GPG key

finally you go to you terminal and run this command;

git config --global commit.gpgsign true