How to get a branch that is just a copy of some other branch ? #925
Unanswered
manuel-koch
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a git repo with branch "main" and commits.
I started new work on a fresh branch spinning of "main":
git checkout -b just-local
Trying to get that new branch fails:
prints
However I can see the new branch in the references:
prints
Why can't I get that new branch with just
repo.Branch(...)
?Beta Was this translation helpful? Give feedback.
All reactions