aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/user-manual.txt
diff options
context:
space:
mode:
authorThomas Ackermann <th.acker@arcor.de>2013-08-27 20:01:17 +0200
committerJunio C Hamano <gitster@pobox.com>2013-08-27 15:14:44 -0700
commitd39765b12e1e1ab8e8a798466d942bd94063c39f (patch)
treea830008a3d4a427b78891290de3aec5b02676879 /Documentation/user-manual.txt
parentddd4ddef78163a0f01e7a727c69ba8bd4efc07c2 (diff)
downloadgit-d39765b12e1e1ab8e8a798466d942bd94063c39f.tar.gz
Simplify "How to make a commit"
Combine the two cases for "git add" into one. Add verb "use" to "git rm" case. Signed-off-by: Thomas Ackermann <th.acker@arcor.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/user-manual.txt')
-rw-r--r--Documentation/user-manual.txt10
1 files changed, 2 insertions, 8 deletions
diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt
index 6167cd169e..22bab77199 100644
--- a/Documentation/user-manual.txt
+++ b/Documentation/user-manual.txt
@@ -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