git commit --allow-empty -m 'trigger CI'

Category: Git - Core

git commit --allow-empty -m 'trigger CI'

Create a commit with no file changes

Creates a commit with no actual file changes. Useful for triggering CI pipelines.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.