Open
Description
$ 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.
Metadata
Metadata
Assignees
Labels
No labels