查看远程分支
git branch -a
查看本地分支
git branch
切换至分支
#
git checkout dev
切换新分支
#
git checkout -b dev
删除本地分支
git branch -d dev
标签:git,新建,dev,切换,branch,checkout,分支
From: https://www.cnblogs.com/shiguoliang/p/16563006.html
git branch -a
git branch
#
git checkout dev
#
git checkout -b dev
git branch -d dev
标签:git,新建,dev,切换,branch,checkout,分支
From: https://www.cnblogs.com/shiguoliang/p/16563006.html