Reference
mg prev
Jump to the previous branch in the stack
Name
mg prev
— Switch to the “previous” parent branch in your current stack.
Synopsis
Description
- Lets you move upwards in your stack. For instance, from
feature_2
back tofeature_1
.
Examples
- If you’re already on the root branch (e.g.,
main
),mg prev
does nothing. - In a multi-parent scenario, mrge will pick the direct parent listed for your branch.