Simplify "How to make a commit"
authorThomas Ackermann <redacted>
Tue, 27 Aug 2013 18:01:17 +0000 (20:01 +0200)
committerJunio C Hamano <redacted>
Tue, 27 Aug 2013 22:14:44 +0000 (15:14 -0700)
Combine the two cases for "git add" into one.
Add verb "use" to "git rm" case.

Signed-off-by: Thomas Ackermann <redacted>
Signed-off-by: Junio C Hamano <redacted>
Documentation/user-manual.txt

index 6167cd169e9668f2ea45cf7bf9f207989bb859e8..22bab77199a5a02ea690ee7d34a5cc6d32b48b5e 100644 (file)
@@ -1080,19 +1080,13 @@ produce no output at that point.
 
 Modifying the index is easy:
 
-To update the index with the new contents of a modified file, use
+To update the index with the contents of a new or modified file, use
 
 -------------------------------------------------
 $ git add path/to/file
 -------------------------------------------------
 
-To add the contents of a new file to the index, use
-
--------------------------------------------------
-$ git add path/to/file
--------------------------------------------------
-
-To remove a file from the index and from the working tree,
+To remove a file from the index and from the working tree, use
 
 -------------------------------------------------
 $ git rm path/to/file
git clone https://git.99rst.org/PROJECT