How do I delete a Git branch with TortoiseGit

后端 未结 3 1766
小蘑菇
小蘑菇 2020-12-12 11:59

Is there an option to delete a branch with TortoiseGit?

I found a solution for the commandline. Is there an implementation in TortoiseGit?

3条回答
  •  春和景丽
    2020-12-12 12:35

    You can Shift + Right Click on the cloned repository and choose Browse References from TortoiseGit submenu:

    Click on remotes in the left tree view, and then right click the branch you wish to remove and click on Delete remote branch.

    You can also get rid of the "shift"+right click: Go to TortoiseGit settings -> "Set extended context menu" and uncheck "Browse References"

提交回复
热议问题