how to switch between two branches in git
git switch my_branch
how to switch between two branches in git
git switch my_branch
git switch branch
git switch <branch_name>
git checkout <branch_name>
how to make new branch and switch in git
git checkout -b myNewBranch
how to switch branches in git
- git checkout xyz =
checks out the branch, switches to the branch.
- git checkout -b <branch_name> =
creates a new branch and switches to it.
- git merge <branch_name> =
this command takes changes from the given branch,
and merges with the current branches we are on.
git change branch
$ git branch iss53
$ git checkout iss53
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us