summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 16cc50d)
raw | patch | inline | side by side (parent: 16cc50d)
author | Nikolai Weibull <mailing-lists.git@rawuncut.elitemail.org> | |
Thu, 8 Dec 2005 23:28:05 +0000 (00:28 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 8 Dec 2005 23:50:14 +0000 (15:50 -0800) |
Added the following long options to documentation:
* --all
* --signoff
* --verify
* --no-verify
* --edit
Also added documentation for the -- option for terminating option parsing.
Signed-off-by: Nikolai Weibull <nikolai@bitwi.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
* --all
* --signoff
* --verify
* --no-verify
* --edit
Also added documentation for the -- option for terminating option parsing.
Signed-off-by: Nikolai Weibull <nikolai@bitwi.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-commit.txt | patch | blob | history |
index 1edc278c64827b47d8b672106433417510342392..b92cf483152d7d393b20537d5407479aa13fefc1 100644 (file)
SYNOPSIS
--------
-'git-commit' [-a] [-s] [-v] [(-c | -C) <commit> | -F <file> | -m <msg>] [-e] <file>...
+'git-commit' [-a] [-s] [-v] [(-c | -C) <commit> | -F <file> | -m <msg>] [-e] [--] <file>...
DESCRIPTION
-----------
OPTIONS
-------
--a::
+-a|--all::
Update all paths in the index file.
-c or -C <commit>::
-m <msg>::
Use the given <msg> as the commit message.
--s::
+-s|--signoff::
Add Signed-off-by line at the end of the commit message.
--v::
+-v|--verify::
Look for suspicious lines the commit introduces, and
abort committing if there is one. The definition of
'suspicious lines' is currently the lines that has
trailing whitespaces, and the lines whose indentation
has a SP character immediately followed by a TAB
- character.
+ character. This is the default.
--e::
+-n|--no-verify::
+ The opposite of `--verify`.
+
+-e|--edit::
The message taken from file with `-F`, command line with
`-m`, and from file with `-C` are usually used as the
commit log message unmodified. This option lets you
further edit the message taken from these sources.
+--::
+ Do not interpret any more arguments as options.
+
<file>...::
Update specified paths in the index file before committing.