Skip to content

Commit f55e84f

Browse files
avargitster
authored andcommitted
commit doc: document that -c, -C, -F and --fixup with -m error
Document that providing any of -c, -C, -F and --fixup along with -m will result in an error. Some variant of this has been errored about explicitly since 0c09129 ("git-commit: log parameter updates.", 2005-08-08), but the documentation was never updated to reflect this. Wording-by: Eric Sunshine <[email protected]> Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 936d1b9 commit f55e84f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Documentation/git-commit.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ OPTIONS
144144
Use the given <msg> as the commit message.
145145
If multiple `-m` options are given, their values are
146146
concatenated as separate paragraphs.
147+
+
148+
The `-m` option is mutually exclusive with `-c`, `-C`, `-F`, and
149+
`--fixup`.
147150

148151
-t <file>::
149152
--template=<file>::

0 commit comments

Comments
 (0)