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

Add warning when there are changes in the index and using -a with git commit

From: Sylvain Rabot <hidden>
Date: 2016-06-15 22:48:41

Hi,

Many times I had the bad reflex of doing a git commit -as -m "blah
blah" when I was willing to commit only things I had staged in the
index.

It could be useful to add a warning and a prompt when using the -a
option with changes staged in the index to avoid errors.

Regards.

-- 
Sylvain
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help