switcho
This commit is contained in:
parent
4c37585565
commit
b71cf2f2bb
|
@ -31,6 +31,9 @@ Branching
|
||||||
# create a new branch and switch to it
|
# create a new branch and switch to it
|
||||||
git checkout -b your-branch-name
|
git checkout -b your-branch-name
|
||||||
|
|
||||||
|
# switch to a branch by name
|
||||||
|
git checkout your-branch-name
|
||||||
|
|
||||||
# merge changes from another branch into your current branch
|
# merge changes from another branch into your current branch
|
||||||
git merge other-branch-name
|
git merge other-branch-name
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue