Re: Question about "git commit -a"
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Oct 4, 2007, 23:03 UTC
- Message-ID
- <20071004230326.GA3092@steel.home>
- In-Reply-To
- <fe3pp3$8p1$1@sea.gmane.org>
David Soria, Fri, Oct 05, 2007 00:34:11 +0200:
Show 10 quoted lines
> Am Thu, 04 Oct 2007 17:38:25 +0200 schrieb Paolo Ciarrocchi: > > > Hi all, > > I was just wondering why git commit doesn't default to "-a" (yes, it's > > another question that came up during a chat with a mercurial user) and > > I didn't find an answer to that. > > > in fact i do just a git-config alias.commit 'commit -a' in my repository >
Either you have a specially modified git (the alias expansion code) or you just said not exactly truth. You can't alias the git commands (see git.c's main).