X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=Documentation%2Fgit-commit.txt;h=0578a40d841348b5ae484e1fe15ce637ecc4b830;hb=8b3dce565084c89ceb19f7ccf0fe22ffd365f7fd;hp=d01ff5adaec400e84565e1d62a29686f4c1d6db5;hpb=3a5d13a3c32e0f39d8fc83330255fac27af5d853;p=git.git diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt index d01ff5ada..0578a40d8 100644 --- a/Documentation/git-commit.txt +++ b/Documentation/git-commit.txt @@ -42,10 +42,9 @@ The content to be added can be specified in several ways: by one which files should be part of the commit, before finalizing the operation. Currently, this is done by invoking 'git-add --interactive'. -The 'git-status' command can be used to obtain a +The `--dry-run` option can be used to obtain a summary of what is included by any of the above for the next -commit by giving the same set of parameters you would give to -this command. +commit by giving the same set of parameters (options and paths). If you make a commit and then find a mistake immediately after that, you can recover from it with 'git-reset'.