Y
Hacker News
new
|
ask
|
show
|
jobs
by
bradleyy
133 days ago
I leave unstaged files all the time, not sure what you mean.
1 comments
teaearlgraycold
133 days ago
Without extra shenanigans if you have an unstaged file that fails your test suite then pre-commit will reject your commit even if the staged files are error free.
link
bradleyy
132 days ago
Our stuff is configured to only run on staged files.
link