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
Checkout remote branch to a local (tracked banch) #241
Comments
my code is like this :
|
Thank you, this worked! Even though i fall back to checking out the branch on using the cli due to #238 creating a remote tracking branch this way works out fairly well. |
Tried this, and
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looked through the issues and seen some similar questions, but iam not sure i found the right one.
If found:
What i want is, i want to checkout a branch i know exists, but it could be, that it is yet not a local branch. Checking out local branches is easy ( so basically rather
git switch
) but checking out remote branches seems to not work:worktree.Checkout
fails withAccording to the issue i found i changed it to
But got the same issue, just it happens at
Wit again,
reference not found
.What is the right way to do this? I cannot implement fetch due to #240, but if i do a manual
git fetch -a
on the repo beforehand, it should be the same result. Still it fails withreference not found
Thankful for any help
The text was updated successfully, but these errors were encountered: