git delete remotes: remote refs do not exist

前端 未结 3 625
感情败类
感情败类 2021-01-29 23:41

In short;

  • How can I delete remote multiple merged remotes?

More background;

I have a git repo with tens of remotes which have been merge

3条回答
  •  甜味超标
    2021-01-30 00:18

    You may need to prune your local "cache" of remote branches first. Try running:

    git fetch -p origin

    before deleting.

提交回复
热议问题