X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=Documentation%2Fgit-commit.txt;h=d04b342a95037378e94bd89be933130909700456;hb=9086a18cb81f99fff943b36830396ac8c37c7e9f;hp=214ed235c554de89edc4f614072b50c6f0724ded;hpb=29cd1fa451a6e037deb31db9307ed09d6d4262c9;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.