threads / discuss / 31145

a error in git documentation

Subject: a error in git documentation

## tl;dr

3 messages between Jul 31, 2012 and Jul 31, 2012.

replies: 2people: 3as markdown or json

Jialin Liu· Jul 31, 2012, 02:38 UTC · lore
In http://git-scm.com/book/en/Git-Basics-Recording-Changes-to-the-Repository
Notice how you don’t have to run git add on the benchmarks.rb file in this case before you commit.
I think how should be changed to now
Matthieu Moy· Jul 31, 2012, 06:38 UTC · re: Jialin Liu · lore

Re: a error in git documentation

Jialin Liu <jialinliu7@gmail.com> writes:
> In http://git-scm.com/book/en/Git-Basics-Recording-Changes-to-the-Repository
>
> Notice how you don’t have to run git add on the benchmarks.rb file in this case before you commit.
In which case? (the page is rather long)

I didn't see a case where "git add" was not needed (or "git commit" used with "-a", which gives the same effect).

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Michael J Gruber· Jul 31, 2012, 08:38 UTC · re: Matthieu Moy · lore

Re: a error in git documentation

Matthieu Moy venit, vidit, dixit 31.07.2012 08:38:
Show 11 quoted lines
> Jialin Liu <jialinliu7@gmail.com> writes:
> 
>> In http://git-scm.com/book/en/Git-Basics-Recording-Changes-to-the-Repository
>>
>> Notice how you don’t have to run git add on the benchmarks.rb file in this case before you commit.
> 
> In which case? (the page is rather long)
> 
> I didn't see a case where "git add" was not needed (or "git commit" used
> with "-a", which gives the same effect).
> 
Matthieu: "Notice how..." is the line Jialin suggest to be changed.
Jialin: "how" is correct; "how" starts a subsentence (subclause) which
is used as the object for the verb "notice". ("Notice [that] now..."
would be correct, too.)
BTW: This is not in what many would call "git documentation" (i.e.
git.git/Documentation/). It's in the Git book. But git-scm calls the the
former "reference" and puts both under "Documentation".

This is not about the question "who's the Git community". It's simply (im)practical: You contribute to the Git book via pull requests on GitHub and to "git documentation within the git project" by patches on this list.

Michael

← back to recent threads