commit: document a couple of options
Document git commit '--branch' and '--no-post-rewrite'. Mention that '-z' can also be spelt as '--null'. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ramkumar Ramachandra committed
Jun 8, 2012 at 15:48 UTC
e858af6d501954af07fa3bb7d2cca40b638c75a6
1 file changed
+8
Documentation/git-commit.txt
+8
@@ -101,12 +101,16 @@ OPTIONS
101
When doing a dry-run, give the output in the short-format. See
102
linkgit:git-status[1] for details. Implies `--dry-run`.
103
104
+--branch::
105
+ Show the branch and tracking info even in short-format.
106
+
107
--porcelain::
108
When doing a dry-run, give the output in a porcelain-ready
109
format. See linkgit:git-status[1] for details. Implies
110
`--dry-run`.
111
112
-z::
113
+--null::
114
When showing `short` or `porcelain` status output, terminate
115
entries in the status output with NUL, instead of LF. If no
116
format is given, implies the `--porcelain` output format.
@@ -189,6 +193,10 @@ OPTIONS
193
current tip -- if it was a merge, it will have the parents of
194
the current tip as parents -- so the current top commit is
195
discarded.
196
+
197
+--no-post-rewrite::
198
+ Bypass the post-rewrite hook.
199
+
200
+
201
--
202
It is a rough equivalent for: