Junio C Hamano  committed f17adbc Merge

Merge branch 'jk/maint-commit-document-editmsg' into maint

"$GIT_DIR/COMMIT_EDITMSG" file that is used to hold the commit log
message user edits was not documented.

* jk/maint-commit-document-editmsg:
commit: document the temporary commit message file

  • Participants
  • Parent commits 5c992a1, 41f597d

Comments (0)

Files changed (1)

File Documentation/git-commit.txt

 and `post-commit` hooks.  See linkgit:githooks[5] for more
+	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`.