Re: Please default to 'commit -a' when no changes were added
- From
Miles Bader <miles@gnu.org>
- Date
- Apr 25, 2010, 02:47 UTC
- Message-ID
- <87mxwsgser.fsf@catnip.gol.com>
- In-Reply-To
- <20100424214024.GA8044@progeny.tock>
Jonathan Nieder <jrnieder@gmail.com> writes:
Show 6 quoted lines
> But dense as I am, I still can’t imagine why > > echo '[alias] ci = commit -a' >>$HOME/.gitconfig > > wouldn’t be better in every way (especially if Jakub’s > commit.preserveindex is enabled).
If the latter is enabled, you can't use "git add" to add new files, you'll have to remember to use "add -N" (or add some alias for that too).
-Miles
--
/\ /\
(^.^)
(")")
*This is the cute kitty virus, please copy this into your sig so it can spread.