Re: [PATCH 0/2] Making "git commit" to mean "git commit -a".
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Nov 29, 2006, 20:01 UTC
- Message-ID
- <Pine.LNX.4.63.0611292059480.30004@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <456DDADC.7030509@midwinter.com>
Hi,
On Wed, 29 Nov 2006, Steven Grimm wrote:
Show 8 quoted lines
> Junio C Hamano wrote: > > After they learn what it means and get used to using it, they > > will start wondering why we do not default to "-a". > > More likely they will start wondering the instant you tell them to use > it the first time. Or at least they'll ask, "If '-a' means commit all > files, what's the default?" And then you either have to blow off the > question or start telling them about the index.
So what? Tell them that there is a staging area, which makes many operations of git very powerful and fast. And this staging area is called "the index" in git. And to put some files into it, specify those files. If you want _all_ modified files there, use "-a". That's it.
Ciao, Dscho