From 6fc4a7e546d5e2b0ce545f73b5c1829887db2462 Mon Sep 17 00:00:00 2001 From: Mark Burton Date: Tue, 18 Nov 2008 22:33:44 +0000 Subject: git-commit.txt - mention that files listed on the command line must be known to git. Signed-off-by: Mark Burton Signed-off-by: Junio C Hamano diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt index 2e62165..a1ce9a8 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 -- cgit v0.10.2-6-g49f6