Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
commit: document a couple of options
author
Ramkumar Ramachandra
<artagnon@gmail.com>
Fri, 8 Jun 2012 10:18:30 +0000
(15:48 +0530)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 8 Jun 2012 15:14:22 +0000
(08:14 -0700)
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>
Documentation/git-commit.txt
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
3207a3a
)
diff --git
a/Documentation/git-commit.txt
b/Documentation/git-commit.txt
index 68abfcacca8f3b0dc7c2daec54e539547ff6b5f9..441c2087b98f4efe6b9f3f44fa7314bb3e14ac35 100644
(file)
--- a/
Documentation/git-commit.txt
+++ b/
Documentation/git-commit.txt
@@
-101,12
+101,16
@@
OPTIONS
When doing a dry-run, give the output in the short-format. See
linkgit:git-status[1] for details. Implies `--dry-run`.
When doing a dry-run, give the output in the short-format. See
linkgit:git-status[1] for details. Implies `--dry-run`.
+--branch::
+ Show the branch and tracking info even in short-format.
+
--porcelain::
When doing a dry-run, give the output in a porcelain-ready
format. See linkgit:git-status[1] for details. Implies
`--dry-run`.
-z::
--porcelain::
When doing a dry-run, give the output in a porcelain-ready
format. See linkgit:git-status[1] for details. Implies
`--dry-run`.
-z::
+--null::
When showing `short` or `porcelain` status output, terminate
entries in the status output with NUL, instead of LF. If no
format is given, implies the `--porcelain` output format.
When showing `short` or `porcelain` status output, terminate
entries in the status output with NUL, instead of LF. If no
format is given, implies the `--porcelain` output format.
@@
-189,6
+193,10
@@
OPTIONS
current tip -- if it was a merge, it will have the parents of
the current tip as parents -- so the current top commit is
discarded.
current tip -- if it was a merge, it will have the parents of
the current tip as parents -- so the current top commit is
discarded.
+
+--no-post-rewrite::
+ Bypass the post-rewrite hook.
+
+
--
It is a rough equivalent for:
+
--
It is a rough equivalent for: