11
如何从Git删除无效的远程分支引用?
在我当前的仓库中,我有以下输出: $ git branch -a * master remotes/origin/master remotes/public/master 我想remotes/public/master从分支机构列表中删除: $ git branch -d remotes/public/master error: branch 'remotes/public/master' not found. 另外,的输出git remote很奇怪,因为它没有列出public: $ git remote show origin 如何从分支机构列表中删除“ remotes / public / master”? 更新,尝试了以下git push命令: $ git push public :master fatal: 'public' does not appear to be a git repository …
731
git
branch
remote-branch