Q:

how to switch branch

git switch <branch_name>

git checkout <branch_name> 
14
git switch branch_name

git checkout branch_name 
3
git checkout [branch name]
1
$ git checkout feature
2
wonder.woman@highfive project %  git checkout branch_name 
#this let you keep edited files
wonder.woman@highfive project %  git switch branch_name  
1

New to Communities?

Join the community