Thread (33 messages) flat view 33 messages, 4 authors, 2016-06-15

Re: [PATCH 06/13] Simplify "How to make a commit"

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:58:30

Thomas Ackermann wrote:
quoted hunk ↗ jump to hunk
--- 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
That's a mouthful.  I'd say

	To update the index with the contents of a new or modified file, use

[...]
-To add the contents of a new file to the index, use
-
--------------------------------------------------
-$ git add path/to/file
--------------------------------------------------
-
\o/
-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
In git 2.0, (plain "rm" followed by) "git add" should work for this,
too.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help