@matheusbsbs / matheus-bagliano / commits / bc47c29ec1
Fork 0

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>

Stephan Beyer committed Jun 8, 2008 at 03:36 UTC bc47c29ec18164ba1f05600333457cf6f2432856
1 file changed +9 -8
Documentation/git-commit.txt
+9 -8
@@ -57,14 +57,16 @@ OPTIONS
57 been modified and deleted, but new files you have not
58 told git about are not affected.
59
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
62 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.
64
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>::
70 Take the commit message from the given file. Use '-' to
71 read the message from the standard input.
72
@@ -85,7 +87,7 @@ OPTIONS
87 -s|--signoff::
88 Add Signed-off-by line at the end of the commit message.
89
88 ---no-verify::
90 +-n|--no-verify::
91 This option bypasses the pre-commit and commit-msg hooks.
92 See also linkgit:githooks[5][hooks].
93
@@ -112,7 +114,6 @@ OPTIONS
114 further edit the message taken from these sources.
115
116 --amend::
115 -
117 Used to amend the tip of the current branch. Prepare the tree
118 object you would want to replace the latest commit as usual
119 (this includes the usual -i/-o and explicit paths), and the