I confess that I sometimes use git commit -a
when I should not. It's gotten to be reflex about half the time, often when I think I'm working in separate repositories - but I'm actually working in a much larger one that will affect directories far and wide.
Is there a .git/config
setting I can specify that will cause the -a
flag to throw an error?