diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2007-12-27 03:29:58 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2007-12-27 03:29:58 +0000 |
commit | 554da79be4cae87edd4323dd34fce9958e02b5d3 (patch) | |
tree | 3ccad0af64872f6599d9c405b21559abebd49bdc /git-commit.txt | |
parent | 0ec429328154e4d8268651eca7997f99514ece21 (diff) | |
download | git-htmldocs-554da79be4cae87edd4323dd34fce9958e02b5d3.tar.gz |
Autogenerated HTML docs for v1.5.4-rc2
Diffstat (limited to 'git-commit.txt')
-rw-r--r-- | git-commit.txt | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/git-commit.txt b/git-commit.txt index 426138415..96383b654 100644 --- a/git-commit.txt +++ b/git-commit.txt @@ -11,7 +11,7 @@ SYNOPSIS 'git-commit' [-a | --interactive] [-s] [-v] [-u] [(-c | -C) <commit> | -F <file> | -m <msg> | --amend] [--allow-empty] [--no-verify] [-e] [--author <author>] - [--] [[-i | -o ]<file>...] + [--cleanup=<mode>] [--] [[-i | -o ]<file>...] DESCRIPTION ----------- @@ -95,6 +95,16 @@ OPTIONS from making such a commit. This option bypasses the safety, and is primarily for use by foreign scm interface scripts. +--cleanup=<mode>:: + This option sets how the commit message is cleaned up. + The '<mode>' can be one of 'verbatim', 'whitespace', 'strip', + and 'default'. The 'default' mode will strip leading and + trailing empty lines and #commentary from the commit message + only if the message is to be edited. Otherwise only whitespace + removed. The 'verbatim' mode does not change message at all, + 'whitespace' removes just leading/trailing whitespace lines + and 'strip' removes both whitespace and commentary. + -e|--edit:: The message taken from file with `-F`, command line with `-m`, and from file with `-C` are usually used as the |