現在のレポでは、次の出力があります。
$ 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
fatal: The remote end hung up unexpectedly