当我们删除远程分支后执行
git branch -a
本地却依然能看到远程分支
这个时候我们只需要执行
git remote prune origin
清理一下就可以了
然后再次执行
git branch -a
就看不到啦
sinceForever ©著作权
当我们删除远程分支后执行
git branch -a
本地却依然能看到远程分支
这个时候我们只需要执行
git remote prune origin
清理一下就可以了
然后再次执行
git branch -a
就看不到啦
下一篇:本地项目上传到github
git回退commit
新增本地分支提交本地分支到远程删除本地分支删除远程分支
作为开发人员,我们应该尽可能多地建立分支,在分支上进行开发,功能测试稳定后,再将
1.1. 使用场景远程分支与本地现有分支差异较大,需要基于远程分支进行新的开发。将远程分支拉取到本地时不能对本地现有分支进行污染或被本地分
git合并本地分支 ...
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M