赞
踩
查看项目的远程分支:
git branch -r
比如我们要删除远程分支 origin/SLT_table_report
git push origin -d 分支名
我们执行:
git push origin -d SLT_table_report
删除成功
注意
这里不能写成
origin/SLT_table_report
,不然会报错:具体请参考【git 删除远程分支报错error: unable to delete ‘origin/xxx‘: remote ref does not exist】
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。