summaryrefslogtreecommitdiffstats
path: root/git-commit.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-07-24 15:05:15 -0700
committerJunio C Hamano <gitster@pobox.com>2012-07-24 15:05:15 -0700
commit28a85beb3e536460e7d67f5ddb67c1096cb7cba1 (patch)
tree9de9f40a9fe12231e26562fd220d1b2c382a3374 /git-commit.txt
parent44dcd493a7896aabe2b48b0a2935633538d81f7c (diff)
downloadgit-htmldocs-28a85beb3e536460e7d67f5ddb67c1096cb7cba1.tar.gz
Autogenerated HTML docs for v1.7.12-rc0-10-g476109
Diffstat (limited to 'git-commit.txt')
-rw-r--r--git-commit.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/git-commit.txt b/git-commit.txt
index f40083592..4622297ec 100644
--- a/git-commit.txt
+++ b/git-commit.txt
@@ -407,6 +407,15 @@ This command can run `commit-msg`, `prepare-commit-msg`, `pre-commit`,
and `post-commit` hooks. See linkgit:githooks[5] for more
information.
+FILES
+-----
+
+`$GIT_DIR/COMMIT_EDITMSG`::
+ This file contains the commit message of a commit in progress.
+ If `git commit` exits due to an error before creating a commit,
+ any commit message that has been provided by the user (e.g., in
+ an editor session) will be available in this file, but will be
+ overwritten by the next invocation of `git commit`.
SEE ALSO
--------