diff --git a/docs/hub/security-gpg.md b/docs/hub/security-gpg.md index 9368c127a..79af2e99c 100644 --- a/docs/hub/security-gpg.md +++ b/docs/hub/security-gpg.md @@ -86,4 +86,8 @@ Then add the `-S` flag to your `git commit` commands to sign your commits! git commit -S -m "My first signed commit" ``` -Once pushed on the Hub, you should see the commit with a "Verified" badge. \ No newline at end of file +Once pushed on the Hub, you should see the commit with a "Verified" badge. + + +To sign all commits by default in any local repository on your computer, you can run git config --global commit.gpgsign true. +