RebaseBranch step
Rebase the current branch onto the branch defined by to
.
Errors
Fails if any of the following are true:
- The current directory is not a Git repository.
- The
to
branch cannot be found locally (does not check remotes). - The repo is not on the tip of a branch (e.g. detached HEAD)
- Rebase fails (e.g. not a clean working tree)
Example
[[workflows]]
name = "Finish some work"
[[workflows.steps]]
type = "RebaseBranch"
to = "main"