8000 Provide a way to move up/down the stack · Issue #27 · gitext-rs/git-stack · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Provide a way to move up/down the stack #27
Closed
@epage

Description

@epage

  • 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 than upstream

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 and nav-upstream
    • Prompts the user on ambiguity

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0