Documentation: reword commit --no-gpg-sign
Merge with --gpg-sign option, and clarify that --no-gpg-sign also override earlier --gpg-sign. Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Đoàn Trần Công Danh committed
Apr 3, 2020 at 17:28 UTC
9da37fe11e039eef68f2a67c7a0fa86165a5c653
1 file changed
+4
-5
Documentation/git-commit.txt
+4
-5
@@ -348,13 +348,12 @@ changes to tracked files.
348
349
-S[<keyid>]::
350
--gpg-sign[=<keyid>]::
351
+--no-gpg-sign::
352
GPG-sign commits. The `keyid` argument is optional and
353
defaults to the committer identity; if specified, it must be
353
- stuck to the option without a space.
354
-
355
---no-gpg-sign::
356
- Countermand `commit.gpgSign` configuration variable that is
357
- set to force each and every commit to be signed.
354
+ stuck to the option without a space. `--no-gpg-sign` is useful to
355
+ countermand both `commit.gpgSign` configuration variable, and
356
+ earlier `--gpg-sign`.
357
358
\--::
359
Do not interpret any more arguments as options.