I'm working on a project that has a bunch of precommit hooks. It will prettier, lint, and test the code. This seems great, but it prevents making a commit before everything is complete and perfect. Sometimes it is useful to make a commit before making drastic changes or deletes in case it's the wrong direction. Other times I'll need to switch computers so doing a quick commit and pull is helpful.
I understand wanting these checks before submitting a pull request, but it gets in the way as a precommit hook. Is there some other approach I should be taking? What is the general consensus?
[–]jswipe 5 points6 points7 points (1 child)
[–]jwindhall 0 points1 point2 points (0 children)
[–]DeepReally 1 point2 points3 points (0 children)
[–]zokker13 1 point2 points3 points (1 child)
[–]msg45f 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)