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.
~/itsamoreh.dev (main)> git commit --allow-empty -m "trigger rebuild"
That’s it!