X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-commit.txt;h=517a86b238a91a1c853b5fbe331a5cc984e95878;hb=b68ea12e305043a7feef085b6ba098f42357af9b;hp=38df59ce2357fcd37810b2aaca9d759e9138e654;hpb=d882e1ac94eb2301833131f2165c6ac91db67eac;p=git.git diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt index 38df59ce2..517a86b23 100644 --- a/Documentation/git-commit.txt +++ b/Documentation/git-commit.txt @@ -15,9 +15,9 @@ SYNOPSIS DESCRIPTION ----------- Updates the index file for given paths, or all modified files if -'-a' is specified, and makes a commit object. The command -VISUAL and EDITOR environment variables to edit the commit log -message. +'-a' is specified, and makes a commit object. The command specified +by either the VISUAL or EDITOR environment variables are used to edit +the commit log message. Several environment variable are used during commits. They are documented in gitlink:git-commit-tree[1]. @@ -98,7 +98,7 @@ but can be used to amend a merge commit. Instead of committing only the files specified on the command line, update them in the index file and then commit the whole index. This is the traditional - behaviour. + behavior. -o|--only:: Commit only the files specified on the command line.