//创建分支
git branch branchname
//创建并切换到新分支
git checkout -b branchname
//远程分支
git push origin branchname
//查看远程分支
git branch -r
//删除本地分支
git branch -d branchname
//删除远程分支
git push origin :branchname
原文地址:https://www.cnblogs.com/sea-stream/p/10361273.html
时间: 2024-10-09 14:12:58