File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 33# License: MIT
44# Project URL: https://github.com/samrocketman/git-identity-manager
55
6- version=' 0.7 '
6+ version=' 0.8 '
77
88if ! git --version | awk ' BEGIN { FS="." }; $2 < 13 { exit(1) }' ; then
99 echo ' WARNING: "git --version" is older than Git 2.13. git-idm will have unexpected behavior.' >&2
@@ -64,6 +64,10 @@ Example usage:
6464 git ${cmd} list
6565 git ${cmd} use jcool
6666 git ${cmd} remove jcool
67+
68+ Adding with a GPG key and signing each commit
69+
70+ git ${cmd} add jcool --name "Joe Cool" --email "joe@example.com" --key ~/.ssh/id_rsa --signing-key 1AA11AAA111A1AAA --sign-commits
6771
6872 Auto-switching identities based on a tracked directory path of cloned
6973 repositories.
@@ -101,7 +105,7 @@ Command options:
101105 --email EMAIL - Email of the associated identity.
102106 --key SSH_KEY - SSH private key of the associated identity.
103107 --signing-key SIGNING_KEY - (optional) add a gpg signing key.
104- --sign-comits SIGN_COMMITS (optional) whether or not to sign commits.
108+ --sign-commits SIGN_COMMITS (optional) whether or not to sign commits.
105109 --ssh-command SSH_COMMAND - Customize the SSH command ignoring --key.
106110 list:
107111 Has no options.
You can’t perform that action at this time.
0 commit comments