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.