Catch simple issues before code review using pre-commit.
Pre-commit uses git hooks in order to catch your little typos before they hit the git tree. Automatically format your code, run a linter, type check, check config files, and more.
― mCoding with James Murphy (https://mcoding.io)
Source code: https://github.com/mCodingLLC/pre-com...
All videos source code: https://github.com/mCodingLLC/VideosS...
pre-commit: https://pre-commit.com/
Popular hooks: https://pre-commit.com/hooks.html
SUPPORT ME ⭐
---------------------------------------------------
Patreon: / mcoding
Paypal: https://www.paypal.com/donate/?hosted...
Other donations: https://mcoding.io/donate
Top patrons and donors: Jameson, Laura M, Dragos C, Vahnekie, John Martin, Casey G, Pieter G, Krisztian M, Sigmanificient
BE ACTIVE IN MY COMMUNITY 😄
---------------------------------------------------
Discord: / discord
Github: https://github.com/mCodingLLC/
Reddit: / mcoding
Facebook: / james.mcoding
CHAPTERS
---------------------------------------------------
0:00 Intro
0:42 Git hooks
1:33 Install and use pre-commit
3:46 Favorite pre-commit hooks
4:39 After a config change
5:00 Is this safe?