mirror of
https://github.com/git/git
synced 2024-09-13 05:14:36 +00:00
Merge branch 'jk/maint-commit-document-editmsg'
Document $GIT_DIR/COMMIT_EDITMSG file. * jk/maint-commit-document-editmsg: commit: document the temporary commit message file
This commit is contained in:
commit
9c3f19fdfd
|
@ -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
|
and `post-commit` hooks. See linkgit:githooks[5] for more
|
||||||
information.
|
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
|
SEE ALSO
|
||||||
--------
|
--------
|
||||||
|
|
Loading…
Reference in a new issue