diff --git a/posts/sign-git-commit-with-gpg/index.md b/posts/sign-git-commit-with-gpg/index.md index d15eeb5..f5dddbc 100644 --- a/posts/sign-git-commit-with-gpg/index.md +++ b/posts/sign-git-commit-with-gpg/index.md @@ -92,7 +92,7 @@ $ mkdir testgpg $ cd testgpg $ touch abc.txt $ git add . -$ git commit -m -S "test gpg key" +$ git commit -S -m "test gpg key" ``` 这里提交时的 `-S` 选项,表示我们使用 GPG 签名这次提交。