From: Jonathan Nieder Date: Sun, 25 Aug 2013 05:05:27 GMT Subject: Re: [PATCH 06/13] Simplify "How to make a commit" Message-ID: <20130825050527.GI2882@elie.Belkin> In-Reply-To: <1687455733.1090999.1377329376866.JavaMail.ngmail@webmail08.arcor-online.net> Thomas Ackermann wrote: > --- 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.