Create empty Git commits

Occasionally you see commit messages like: trigger build empty commit for CI Developers push these commits to re-run continuous integration (CI) after a failure due to a flaky test or an intermittent network error. The commits often contain an innocuous change such as adding a blank line in a README file or changing one character in a code comment. The problem The developer doesn’t actually want to change anything in the project—they want to trigger a new build. But, by default, the git commit command prevents creating empty commits: ...

14 February, 2023 · Max Smolens