Answers for "how to switch branches in command promt"

1

how to switch branches in git

- git checkout branch_name --> goes to branch that already exists
- git checkout -b <branch_name> --> creates a new branch and switches to it.
Posted by: Guest on July-20-2021

Code answers related to "how to switch branches in command promt"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language