Skip to content

Commit bc47c29

Browse files
sbeyergitster
authored andcommitted
git-commit.txt: Add missing long/short options
Also split the "-c or -C <commit>" item into two separate items. Signed-off-by: Stephan Beyer <s-beyer@gmx.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent d1eb35b commit bc47c29

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

Documentation/git-commit.txt

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,16 @@ OPTIONS
5757
been modified and deleted, but new files you have not
5858
told git about are not affected.
5959

60-
-c or -C <commit>::
61-
Take existing commit object, and reuse the log message
60+
-C <commit>|--reuse-message=<commit>::
61+
Take an existing commit object, and reuse the log message
6262
and the authorship information (including the timestamp)
63-
when creating the commit. With '-C', the editor is not
64-
invoked; with '-c' the user can further edit the commit
65-
message.
63+
when creating the commit.
6664

67-
-F <file>::
65+
-c <commit>|--reedit-message=<commit>::
66+
Like '-C', but with '-c' the editor is invoked, so that
67+
the user can further edit the commit message.
68+
69+
-F <file>|--file=<file>::
6870
Take the commit message from the given file. Use '-' to
6971
read the message from the standard input.
7072

@@ -85,7 +87,7 @@ OPTIONS
8587
-s|--signoff::
8688
Add Signed-off-by line at the end of the commit message.
8789

88-
--no-verify::
90+
-n|--no-verify::
8991
This option bypasses the pre-commit and commit-msg hooks.
9092
See also linkgit:githooks[5][hooks].
9193

@@ -112,7 +114,6 @@ OPTIONS
112114
further edit the message taken from these sources.
113115

114116
--amend::
115-
116117
Used to amend the tip of the current branch. Prepare the tree
117118
object you would want to replace the latest commit as usual
118119
(this includes the usual -i/-o and explicit paths), and the

0 commit comments

Comments
 (0)