[PATCH 06/13] Simplify "How to make a commit"
- From
Thomas Ackermann <th.acker@arcor.de>
- Date
- Aug 24, 2013, 07:29 UTC
- Message-ID
- <1687455733.1090999.1377329376866.JavaMail.ngmail@webmail08.arcor-online.net>
- In-Reply-To
- <282216171.1090748.1377328932833.JavaMail.ngmail@webmail08.arcor-online.net>
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> --- Documentation/user-manual.txt | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt index 8a1a441..ca78333 100644 --- a/Documentation/user-manual.txt +++ b/Documentation/user-manual.txt @@ -1080,19 +1080,14 @@ 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 add the contents of a new file to the index or update the index +with the new contents of a 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
-- 1.8.3.msysgit.0 --- Thomas