"在我目前的回购中,我有以下输出:
$ git branch -a* maste remotes/origin/maste remotes/public/maste我想remotes/public/master从分支列表中删除:
$ git branch -d remotes/public/masteerror: branch 'remotes/public/master' not found.此外,输出git remote是奇怪的,因为它没有列出public:
$ git remote show origin如何从分支列表中删除“远程/公共/主”?
更新,尝试git push命令:
$ git push public :mastefatal: 'public' does not appear to be a git repositoryfatal: The remote end hung up unexpectedly"相似问题