← Back to feed

Sometimes I need to push an emtpy commit just to trigger a pipeline

IT·实践 · 2026-11-30 21:20

Developers can use the `git commit --allow-empty` command to create an empty commit, manually triggering continuous integration pipelines when no code changes are present. This technique addresses build requirements in scenarios where standard commits fail to initiate automated workflows.

Source: captainslog.me


Auto-generated summary for reference only. RSS