Closed
Description
- I have searched the discussions
- I have searched the existing issues
Version
0.1.0
Use Case
Looking up my upstream and switching to it can be distracting. Git finds shortcuts useful enough to have git checkout -
. Providing a way to move HEAD up/down will be a help
Requirements
- Move up/down
- Moving down handles ambiguities
Possible Solutions
git switch-parent
- Implies action through relation to
git switch
command - "branch" is implied since switching is usually between branches
parent
is less ambiguous thanupstream
git switch-child
- Accept which child on command-line
- Prompts when no child selected
Alternative Solutions
depot-tools
represents this with special git subcommands,nav-downstream
andnav-upstream
- Prompts the user on ambiguity