# a error in git documentation

3 messages from 2012-07-31 to 2012-07-31. Participants: Jialin Liu, Matthieu Moy, Michael J Gruber.
Thread: https://gitlist.dev/t/31145

## Jialin Liu, 2012-07-31 02:38

Subject: a error in git documentation
Message-ID: <DBDC25FF-7978-49BF-AB39-5EF9496F5456@gmail.com>
URL: https://gitlist.dev/e/DBDC25FF-7978-49BF-AB39-5EF9496F5456%40gmail.com

```
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, 2012-07-31 06:38

Subject: Re: a error in git documentation
Message-ID: <vpqpq7c1ll0.fsf@bauges.imag.fr>
URL: https://gitlist.dev/e/vpqpq7c1ll0.fsf%40bauges.imag.fr
In-Reply-To: <DBDC25FF-7978-49BF-AB39-5EF9496F5456@gmail.com>

```
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, 2012-07-31 08:38

Subject: Re: a error in git documentation
Message-ID: <5017997A.70406@drmicha.warpmail.net>
URL: https://gitlist.dev/e/5017997A.70406%40drmicha.warpmail.net
In-Reply-To: <vpqpq7c1ll0.fsf@bauges.imag.fr>

```
Matthieu Moy venit, vidit, dixit 31.07.2012 08:38:
> 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

```
