Pre-Commit Articles
Mind Your Image Metadata
Most devices record a variety of metadata when generating images. While some of that information may be innocuous, you could end up exposing the GPS coordinates to your home if you aren't careful. In this article, I provide a brief introduction to image metadata, and then show you how to remove it with exif-stripper
.
Pre-Commit Hook Creation Guide
Pre-commit hooks are a great way to help maintain code quality. However, some of your code quality standards may be specific to your project, and therefore, not covered by existing code linting and formatting tools. In this article, I will show you how to incorporate custom checks into your pre-commit
setup.
So, you've just set up pre-commit hooks on your repository using pre-commit
, but do you know what actually happened when you ran pre-commit install
or why you had to run it in the first place? How does pre-commit
actually work with Git? In this article, I will take you behind the scenes of how your pre-commit
setup works.
Having issues with your pre-commit
setup? In this troubleshooting guide, I've collected the most common errors pre-commit
users face and provided explanations and guidance for fixing them.
How to Set Up Pre-Commit Hooks
Looking to streamline your local development? In this article, I provide a step-by-step guide to installing and configuring pre-commit hooks on your project. You will also a learn a little bit about how git hooks work.