commit 9d64dde95c6a206c542a27d45c443cd8a78a39df
parent 8dcdbbf2de2486060db12dc8c4fb0e7bba684dcb
Author: pyratebeard <root@pyratebeard.net>
Date: Wed, 23 Jan 2019 17:13:04 +0000
signing key
Diffstat:
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/coding/git.md b/coding/git.md
@@ -15,6 +15,16 @@ set username for [single repo][]
git config user.username 'name'
```
+set signing key for local repo
+```
+git config user.signingkey <id>
+```
+
+[signing][] commits
+```
+git commit -S -m 'msg'
+```
+
[making a pull request][]
[branching and rebasing][]
@@ -28,3 +38,4 @@ git config user.username 'name'
[branching model]: https://nvie.com/posts/a-successful-git-branching-model/
[single repo]: https://help.github.com/articles/setting-your-username-in-git/
[merging and rebasing]: https://www.atlassian.com/git/tutorials/merging-vs-rebasing
+[signing]: https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work