](https://gagor.pro/2024/01/my-pre-commit-config-for-hugo-blog/images/cover.webp)
My pre-commit config for Hugo blog
Learn how to set up and use pre-commit hooks to automate tasks like linting, syntax checks, and optimizations for your Hugo blog.
Learn how to set up and use pre-commit hooks to automate tasks like linting, syntax checks, and optimizations for your Hugo blog.
I use Git a lot, even writing this article i will commit text few times. There’s a set of aliases I rely on daily and they’re first I add in new place. Some Git commands are unnecessarily verbose. You can make your life much easier with bash-completions, but if you write it tens of times per day, it’s anyway a lot of typing… and I’m a lazy man 😄 Simple status/log checks git s s = status --short --branch --untracked-files Shows a short, branch-focused status with untracked files. ...
Learn how to check the compressed size of Docker images to optimize download and startup times, using a simple bash function for accurate measurements.
Learn how to run Google Tasks in a separate browser tab for better task management and integration with Gmail and Calendar.
Learn how to run Zwift in full screen mode on Windows, eliminating the windowed mode’s start menu and title bar for a more immersive experience.
Learn how to use GitHub with SSH on port 443 to bypass firewall restrictions and ensure seamless repository access.
Learn how to resolve the “Key is stored in legacy trusted.gpg keyring” warning on Ubuntu 22.04 by properly managing GPG keys for repositories.
Dowiedz się, jak skasować ostrzeżenie wymiany oleju w samochodzie Ford S-MAX, wykonując kilka prostych kroków.
Learn how to automatically add ticket IDs to every commit message in Git, ensuring consistent and informative commit history by using custom Git aliases.
Learn how to resize images from the command line on MacOS using built-in tools like sips and third-party tools like ImageMagick for various use cases.