Git

Notes, tips, and tricks to help you effectively use Git version control to manage code on your WordPress site.

  • Configure GitHub email routing settings

    I like to keep my work life separate from my personal life. But I use the same GitHub account for work and personal projects. By default GitHub sends all notification emails to a single primary email address. This was an issue for me because I… Read More

  • How to push empty Git commits

    There are a few reasons you might want to push an empty Git commit. I mostly use one to trigger a CI/CD rebuild without changing any code. Git prevents you from committing nothing so we need to use the –allow-empty flag. That’s it! Read More