git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: a error in git documentation

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Jul 31, 2012, 06:38 UTC
Message-ID
<vpqpq7c1ll0.fsf@bauges.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/
Previous: Jialin LiuNext: Michael J Gruber
Message 2 of 3 in “a error in git documentation”
  1. Jialin LiuJul 31, 2012
  2. Matthieu MoyJul 31, 2012
  3. Michael J GruberJul 31, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.