I have 3 branches that I see in bit-bucket, one master and 2 branches other developers have worked on.
I would like to take the latest branch, make a few changes, and merge it into the master. This branch is called "Updated_model_,_sources"
when I review my remote branches (git branch -r
) I get:
origin/HEAD -> origin/master
origin/master
So I don't see it there, but when I try git ls-remote origin
I get:
longcodeblablabla HEAD
longcodeblablabla refs/heads/Updated_model_,_sources
..
so I see it's there, now the thing is - I just cannot checkout this branch! I tried a lot of different ways to do so but I keep getting:
error: pathspec 'refs/heads/Updated_model_,_sources' did not match any file(s) known to git
(tried it without the path folders as well).
PS - I did not perform a standard clone, the project piled up to be really heavy so it got stuck in the clone, so I used git clone --depth 9 blabla@blabla.com
.