diff options
author | Junio C Hamano <junkio@cox.net> | 2005-09-04 15:47:28 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-09-04 15:47:28 -0700 |
commit | f5f2c52bb08a7fc5bde6a7eb6552235df9daca71 (patch) | |
tree | 8a3114a7c1ca47a98b03a01f688666a026a6948f /Documentation/git-commit-script.txt | |
parent | Merge branch 'master' of . (diff) | |
parent | Add copy/rename check for git-apply. (diff) | |
download | tgif-f5f2c52bb08a7fc5bde6a7eb6552235df9daca71.tar.xz |
Merge branch 'master' of .
Diffstat (limited to 'Documentation/git-commit-script.txt')
-rw-r--r-- | Documentation/git-commit-script.txt | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/Documentation/git-commit-script.txt b/Documentation/git-commit-script.txt index cf6b5c3da2..faa1870e34 100644 --- a/Documentation/git-commit-script.txt +++ b/Documentation/git-commit-script.txt @@ -8,7 +8,7 @@ git-commit-script - Record your changes SYNOPSIS -------- -'git commit' [-a] [-s] [-v] [(-c | -C) <commit> | -F <file> | -m <msg>] <file>... +'git commit' [-a] [-s] [-v] [(-c | -C) <commit> | -F <file> | -m <msg>] [-e] <file>... DESCRIPTION ----------- @@ -17,6 +17,10 @@ Updates the index file for given paths, or all modified files if VISUAL and EDITOR environment variables to edit the commit log message. +This command can run `commit-msg`, `pre-commit`, and +`post-commit` hooks. See link:hooks.html[hooks] for more +information. + OPTIONS ------- -a:: @@ -47,8 +51,14 @@ OPTIONS has a SP character immediately followed by a TAB character. +-e:: + 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. + <file>...:: - Update specified paths in the index file. + Update specified paths in the index file before committing. Author |