summaryrefslogtreecommitdiffstats
path: root/git-commit.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-10-17 15:22:57 -0700
committerJunio C Hamano <gitster@pobox.com>2016-10-17 15:22:57 -0700
commitc0859f7292882e15477dfc88025e14ce83a625db (patch)
tree7ffed07be8918fa7ae147c4a00f1dd23ef64c53e /git-commit.txt
parent20829a4b8e2b66a8e267b82569d850742ce66a6d (diff)
downloadgit-htmldocs-c0859f7292882e15477dfc88025e14ce83a625db.tar.gz
Autogenerated HTML docs for v2.10.1-502-g65988
Diffstat (limited to 'git-commit.txt')
-rw-r--r--git-commit.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/git-commit.txt b/git-commit.txt
index b0a294d3b..f2ab0ee2e 100644
--- a/git-commit.txt
+++ b/git-commit.txt
@@ -29,7 +29,8 @@ The content to be added can be specified in several ways:
2. by using 'git rm' to remove files from the working tree
and the index, again before using the 'commit' command;
-3. by listing files as arguments to the 'commit' command, in which
+3. by listing files as arguments to the 'commit' command
+ (without --interactive or --patch switch), in which
case the commit will ignore changes staged in the index, and instead
record the current content of the listed files (which must already
be known to Git);
@@ -41,7 +42,8 @@ The content to be added can be specified in several ways:
actual commit;
5. by using the --interactive or --patch switches with the 'commit' command
- to decide one by one which files or hunks should be part of the commit,
+ to decide one by one which files or hunks should be part of the commit
+ in addition to contents in the index,
before finalizing the operation. See the ``Interactive Mode'' section of
linkgit:git-add[1] to learn how to operate these modes.