Closed travi closed 9 years ago
don't allow git ad with no arguments when there are files staged. I'm too much in the habit of chaining this with commit and push and I end up pushing committed files that I don't intend to.
git ad
commit
push
this exits with a 0 code and does not prevent chained commands from continuing
0
don't allow
git ad
with no arguments when there are files staged. I'm too much in the habit of chaining this withcommit
andpush
and I end up pushing committed files that I don't intend to.