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?
Watch video The easy way to keep your repos tidy. online without registration, duration hours minute second in high quality. This video was added by user mCoding 09 October 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 95,132 once and liked it 3 thousand people.