Helpful hints: Pre-commit

Get going with pre-commit (video)

I had a lot of fun sharing pre-commit with everyone earlier this week. In case you missed it, here’s a link. As a follow up, I whipped together a quick How-To video.

In it, you’ll follow along as I add a pre-commit hook to a brand new Node.js project. Init a git repo locally, and you can the same as you watch. I’ll take you through adding the initial config, picking your hook, and testing to make sure pre-commit works.

We’re gearing up for more of these helpful hints videos soon. So, if you have a topic you’d love to see covered, feel free to contact me.

Without further adieu, pre-commit:

 

Leave a Comment





This site uses Akismet to reduce spam. Learn how your comment data is processed.