I\'m not sure why I\'m unable to checkout a branch that I had worked on earlier. See the commands below (note: co is an alias for checkou
co
checkou
I got the same problem because I used git clone --depth=1, which implies --single-branch.
git clone --depth=1
--single-branch
Do a completed git clone will fix it.
git clone