| REPOMATIC-GIT-COMMIT-PUSH(1) | REPOMATIC-GIT-COMMIT-PUSH(1) |
repomatic git-commit-push - Commit files and push, rebasing on rejection
repomatic git-commit-push [OPTIONS] [PATHS]...
Commit the given files and push them to a remote branch.
Idempotent: exits successfully without creating a commit when the files are unchanged. A rejected push (something else pushed meanwhile) is retried after rebasing onto the fresh remote tip, so release jobs can publish generated files to the default branch without racing other pushes. Works from a detached HEAD.
With --all-changes, everything the working tree carries is staged rather than a named list. Reserved for a job whose writers are the steps right before it and whose output paths only its configuration knows.
Commit two files and push
repomatic git\-commit\-push \-\-message "Record v1.2.3 binaries" docs/binaries.md docs/assets/virustotal\-scans.csv
Commit every change in the tree
repomatic git\-commit\-push \-\-message "Sample star counts" \-\-all\-changes
Kevin Deldycke
| 2026-09-14 | 7.15.1.dev0 |