RebaseBranch
Rebase the current branch onto the branch defined by to
.
Errors
Fails if any of the following are true:
- The current directory isn’t a Git repository.
- Knope can’t find the
to
branch locally (doesn’t check remotes). - The repo isn’t on the tip of a branch (for example, detached
HEAD
) - Rebase fails (for example, not a clean working tree)
Example
[[workflows]]name = "Finish some work" [[workflows.steps]] type = "RebaseBranch" to = "main"