Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: Please default to 'commit -a' when no changes were added

From: Miles Bader <hidden>
Date: 2016-06-15 22:48:42

Jonathan Nieder [off-list ref] writes:
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help