Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CalledProcessError on branch named "stash" #3

Open
dmtucker opened this issue Aug 11, 2024 · 0 comments
Open

CalledProcessError on branch named "stash" #3

dmtucker opened this issue Aug 11, 2024 · 0 comments

Comments

@dmtucker
Copy link
Owner

$ git switch heads/stash
fatal: a branch is expected, got 'refs/heads/stash'
Traceback (most recent call last):
  File "/home/dtux/.local/bin/git-rebase-branches", line 8, in <module>
    sys.exit(main())
  File "/home/dtux/.local/pipx/venvs/git-rebase-branches/lib/python3.10/site-packages/git_rebase_branches.py", line 152, in main
    run(["git", "switch", branch], check=True)
  File "/home/dtux/.local/pipx/venvs/git-rebase-branches/lib/python3.10/site-packages/git_rebase_branches.py", line 183, in run
    return subprocess.run(command, **kwargs)
  File "/usr/lib/python3.10/subprocess.py", line 526, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', 'switch', 'heads/stash']' returned non-zero exit status 128.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant