RebaseBranch
Rebase the current branch onto the branch defined by to.
Errors
Section titled “Errors”Fails if any of the following are true:
- The current directory isn’t a Git repository.
- Knope can’t find the
tobranch 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
Section titled “Example”[[workflows]]name = "Finish some work" [[workflows.steps]] type = "RebaseBranch" to = "main"