bahmutov / pre-git

Automatically install pre-commit / pre-push hooks in your git repo
168 stars 22 forks source link

Add check for untracked files #89

Closed bahmutov closed 8 years ago

bahmutov commented 8 years ago

My common mistake is not adding a file. Local tests pass, while remote fail. It would be nice to have pre-commit hook that would check if there are untracked files and would stop the commit.

xt0rted commented 8 years ago

I just updated from v3.8.4 to v3.9.1 and this broke my development process. Can this be turned off at all?

bahmutov commented 8 years ago

Not, but if you add this as an option in package json to turn it off when needed, I would merge it in quickly

Sent from my iPhone

On Jun 18, 2016, at 17:10, Brian Surowiec notifications@github.com wrote:

I just updated from v3.8.4 to v3.9.1 and this broke my development process. Can this be turned off at all?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread.