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

Re: [PATCH] Documentation: clarify that git-commit only works with tracked files

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Aug 7, 2008, 11:00 UTC
Message-ID
<20080807110012.GB32057@genesis.frugalware.org>
In-Reply-To
<alpine.DEB.1.00.0808070239120.9611@pacific.mpi-cbg.de.mpi-cbg.de>
On Thu, Aug 07, 2008 at 02:39:59AM +0200, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> Funny.  I haven't used CVS for a while now, but I seem to remember that 
> "cvs commit newfile.c" without a prior "cvs add newfile.c" is not allowed.

But there is a difference. In most VCSes, you need 'add' once. In git you need add before every commit. Of course this should be clear after reading the "How to make a commit" part of the user manual.

Previous: Jonathan NiederNext: Peter Krefting
Message 8 of 10 in “Documentation: user-manual: "git commit -a" doesn't motivate .gitignore”
  1. Jonathan NiederAug 6, 2008
  2. Miklos VajnaAug 6, 2008
  3. Jonathan NiederAug 6, 2008
  4. Jonathan NiederAug 6, 2008
  5. Documentation: clarify that git-commit only works with tracked filesJonathan Nieder, Aug 7, 2008
  6. Johannes SchindelinAug 7, 2008
  7. Jonathan NiederAug 7, 2008
  8. Miklos VajnaAug 7, 2008
  9. Peter KreftingAug 7, 2008
  10. J. Bruce FieldsAug 7, 2008

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.