Is there a git pre-commit hook that will fix all my bugs before committing?
@grumpygamer yes, but it's still buggy, so you can't use it

@grumpygamer here you go:

exec git reset ; exit 1

Guaranteed bug free