travi / dotfiles

My disaster recovery plan.
21 stars 6 forks source link

safety net for git ad #88

Closed travi closed 9 years ago

travi commented 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.

travi commented 9 years ago

this exits with a 0 code and does not prevent chained commands from continuing