When a feature branch is merged into its parent, it usually appears in git machete status with a gray edge.
This means the branch is no longer needed in the layout.
To remove a merged branch from the layout and connect its children directly to its parent, use:
git machete slide-out [<branch1> [<branch2>...]]- Removes the current branch/given branch(es) from the
.git/machetefile. - If the branch had any children, they are now attached to the parent of the removed branch.
- By default, rebases these children onto their new parent (skip with
--no-rebase). - Optionally deletes the slid-out branch locally from git with
git branch -D(use--delete).
Before git machete slide-out:
After git machete slide-out hotfix/add-trigger:
< Previous: Fast-forwarding with advance | Next: GitHub/GitLab integration >

