I have a branch feature/issue/xyz on github and when I try to checkout via git-worktee it keeps telling me does not exist
hint:
hint: If you are planning on basing your work on an upstream
hint: branch that already exists at the remote, you may need to
hint: run "git fetch" to retrieve it.
hint:
hint: If you are planning to push out a new local branch that
hint: will track its remote counterpart, you may want to use
hint: "git push -u" to set the upstream config as you push.
I know it exists , verified bot on github & in a non worktree clone locally
I have tried :
git worktree add --track -b feature/issue/xyz feature/issue/xyz origin/feature/issue/xyz
git worktree add --track -b feature/issue/xyz feature/issue/xyz origin/feature/issue/xyz
and
git worktree add --track -b feature/issue/xyz feature/issue/xyz refs/heads/feature/issue/xyz
I have tried git fetching but all I see is
* branch HEAD -> FETCH_HEAD
and still get the same result after I try to add again