Delete branches listed by git branch -a

前端 未结 4 741
Happy的楠姐
Happy的楠姐 2021-02-12 11:44

The command git branch -a lists a bunch of branches that are NOT on the repository, and NOT local branches. How can these be deleted?

* develop
  m         


        
4条回答
  •  你的背包
    2021-02-12 12:12

    To delete a branch which is not needed anymore you can use the following command :

    git branch -d -r origin/cloner
    

提交回复
热议问题