创建分支命令:
git branch (branchname)
切换分支命令:
git checkout (branchname)
合并分支命令:
git merge
列出分支:
git branch
删除分支:
git branch -d (branchname)
分支合并:
git merge
合并冲突:
$ git status -s
UU test.txt
$ git add test.txt
$ git status -s
M test.txt
$ git commit
[master 88afe0e] Merge branch 'change_site'
本文深入解析Git中关于分支操作的详细命令,包括创建、切换、合并与删除分支的方法,帮助开发者高效管理代码版本。
2998

被折叠的 条评论
为什么被折叠?



