Skip to content

Commit 762b945

Browse files
Added quotation marks
When signing commits with git commit. User needs to specify the commit message within quotation marks.
1 parent 1f86d4b commit 762b945

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/authentication/managing-commit-signature-verification/signing-commits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ If you have multiple keys or are attempting to sign commits or tags with a key t
3636

3737
1. When committing changes in your local branch, add the -S flag to the git commit command:
3838
```shell
39-
$ git commit -S -m <em>your commit message</em>
39+
$ git commit -S -m <em>"your commit message"</em>
4040
# Creates a signed commit
4141
```
4242
2. If you're using GPG, after you create your commit, provide the passphrase you set up when you [generated your GPG key](/articles/generating-a-new-gpg-key).

0 commit comments

Comments
 (0)