0

when I am in the commandline, what is the command to display all the branches and also switch from one git branch to another git branch?

I dont want to create a new branch, i just want to switch to an existing branch

prof_x
  • 3
  • 1
  • 2
    Possible duplicate of [How to check out a remote Git branch?](http://stackoverflow.com/questions/1783405/how-to-check-out-a-remote-git-branch) – Jacob G. Apr 08 '17 at 02:43

1 Answers1

0

listing all branches [non-remote branches]:

git branch

switching to another branch:

git checkout <branch_name>