aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git-commit.txt
diff options
context:
space:
mode:
authorMark Burton <markb@ordern.com>2008-11-18 22:33:44 +0000
committerJunio C Hamano <gitster@pobox.com>2008-11-18 16:15:12 -0800
commit6fc4a7e546d5e2b0ce545f73b5c1829887db2462 (patch)
treebaa726f4f017f53c86ef2119d813d720ee3ef0c8 /Documentation/git-commit.txt
parentc2e6385da53bd3a517332ba2c8d2bd09bdb05396 (diff)
downloadgit-6fc4a7e546d5e2b0ce545f73b5c1829887db2462.tar.gz
git-6fc4a7e546d5e2b0ce545f73b5c1829887db2462.tar.xz
git-commit.txt - mention that files listed on the command line must be known to git.
Signed-off-by: Mark Burton <markb@ordern.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-commit.txt')
-rw-r--r--Documentation/git-commit.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt
index 2e62165fa..a1ce9a8bf 100644
--- a/Documentation/git-commit.txt
+++ b/Documentation/git-commit.txt
@@ -29,7 +29,8 @@ The content to be added can be specified in several ways:
3. by listing files as arguments to the 'commit' command, in which
case the commit will ignore changes staged in the index, and instead
- record the current content of the listed files;
+ record the current content of the listed files (which must already
+ be known to git);
4. by using the -a switch with the 'commit' command to automatically
"add" changes from all known files (i.e. all files that are already