X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Fgit-commit.txt;h=d04b342a95037378e94bd89be933130909700456;hb=5bfc4f23bca0a89e50853b2bdaa6d0118045a9f6;hp=214ed235c554de89edc4f614072b50c6f0724ded;hpb=228382aee45ec7f17db220e9099b46347ba2e1c7;p=git.git diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt index 214ed235..d04b342a 100644 --- a/Documentation/git-commit.txt +++ b/Documentation/git-commit.txt @@ -18,6 +18,10 @@ Updates the index file for given paths, or all modified files if VISUAL and EDITOR environment variables to edit the commit log message. +Several environment variable are used during commits. They are +documented in gitlink:git-commit-tree[1]. + + This command can run `commit-msg`, `pre-commit`, and `post-commit` hooks. See link:hooks.html[hooks] for more information.