layris3 / Daily-learning-experience-record

daily learning experience
0 stars 0 forks source link

git-git checkout <branch> #15

Open layris3 opened 4 years ago

layris3 commented 4 years ago

git checkout <branch> switch to another branch

in fact,git moves HEAD pointer to the branch you want.

if you wanna create a new branch and switch to it,you can use the command below git checkout -b <new branch name>