How do I safely delete a remote git branch?

前端 未结 2 1421
情深已故
情深已故 2021-02-19 03:50

To delete a local branch in git I use git branch -d, but how do I safely remove a remote branch?

I would like to delete it only when the remote bra

2条回答
  •  -上瘾入骨i
    2021-02-19 04:18

    Just to point out that for unmerged branches it seems the option now is --no-merged as explained on http://git-scm.com/docs/git-branch

提交回复
热议问题