When I cloned single branch. When needing to merge from other branch, other branches doesn't show up.
git clone --single-branch --branch release/2.0.0 https://some-repo.com/***.git
Nor git checkout other-branch
recognizes other existing branches on remote.
Can I checkout other branches with-in same folder? Is there a command?
UPDATE:
I did try the solution posted here:
git fetch origin release/2.0.0 release/2.0.0
https://stackoverflow.com/a/67998814/1431250
Result:
git checkout release/2.0.0 error: pathspec 'release/2.0.0' did not match any file(s) known to git