Use pre-commit, commit-msg, and pre-push git hooks to fix your Python code ASAP

Learn to use Git hooks to boost your coding efficiency

In your daily development work, it’s common that you accidentally make some mistakes in your Git commits that violate the regulations in your institution. These mistakes can be as minor as embarrassing to your colleagues, or as major as destructive to your application. It would be great if these mistakes can be detected at an early stage. Luckily, Git hooks can help with this situation.

--

--

I’m a Software Developer (https://www.superdataminer.com) keen on sharing thoughts, tutorials, and solutions for the best practice of software development.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Lynn Kwong

I’m a Software Developer (https://www.superdataminer.com) keen on sharing thoughts, tutorials, and solutions for the best practice of software development.