-
查看分支:git branch
-
创建分支:git branch
-
切换分支:git checkout 或者git switch
-
创建+切换分支:git checkout -b 或者git switch -c
-
合并某分支到当前分支:git merge
-
删除分支:git branch -d
Git创建与合并分支
最新推荐文章于 2023-04-20 18:33:59 发布
查看分支:git branch
创建分支:git branch
切换分支:git checkout 或者git switch
创建+切换分支:git checkout -b 或者git switch -c
合并某分支到当前分支:git merge
删除分支:git branch -d