現在のレポでは、次の出力があります。
$ 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