Skip to content

git branch-stash command not found. #221

Closed
@fuel-wlightning

Description

@fuel-wlightning

Please complete the following tasks

  • I have searched the discussions
  • I have searched the existing issues

Description

After running git stack --pull if I want to undo it asks me to do a:
git branch-stash pop git-stack

When I try to run this command, git says:
git: 'branch-stash' is not a git command. See 'git --help'.

Version

0.8.1

Steps to reproduce

  • On MacOS 12.3 (on Intel processor) install git via XCode Command Line Tools to get Apple git version git version 2.32.0 (Apple Git-132))
  • install git-stack via cargo install git-stack
  • Ensure ${HOME}/.cargo/bin is in your path.
  • ensure you have an existing branch based on a protected branch that has been updated in origin.
  • git stack --pull - Which rebases the branch on the updated protected branch successfully.
  • git branch-stash pop git-stack to attempt to undo the rebase.

Actual Behaviour

git: 'branch-stash' is not a git command. See 'git --help'.

Expected Behaviour

It would undo the latest rebases from the pull.

Debug Output

% git -vv branch-stash pop git-stack
unknown option: -vv
usage: git [--version] [--help] [-C <path>] [-c <name>=<value>]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p | --paginate | -P | --no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           [--super-prefix=<path>] [--config-env=<name>=<envvar>]
           <command> [<args>]
% 

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugNot as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions