-2

I have cut one branch(ABC) from git main branch i.e XYZ

Step 1: clone code from main branch in other drive

step 2: after that when i do cmd : git branch

could not see the branch name which i cut from main branch

What i can see :

XYZ

How can i see ABC also

Please help

1 Answers1

0

If you want to get list of remote branches, you'll need to use the following command:

git branch -r
Das_Geek
  • 2,540
  • 7
  • 19
  • 25
Valerii
  • 1
  • 2