1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-10-31 06:17:56 +01:00

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>
This commit is contained in:
Thomas Ackermann 2013-08-27 20:01:17 +02:00 committed by Junio C Hamano
parent ddd4ddef78
commit d39765b12e

View 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