Skip to content

abandon

Give up a feature: close the PR, delete the branches, return to base.

This branch when none is named, or the named one from anywhere: its linked worktree goes with it. Disarms and closes the pull request, deletes the remote and the local branch, and leaves this checkout on an up-to-date base when it stood on the branch. A dirty tree, here or in the branch's worktree, refuses first. Idempotent: a second run finds nothing left to undo.

fm abandon <branch>
Parameter Type Default Description
<branch> required a branch to give up; this one when absent

Example

$ fm abandon <branch>