如何用TortoiseGit删除Git分支 [英] How do I delete a Git branch with TortoiseGit
问题描述
是否可以选择使用 TortoiseGit 删除分支?
我发现一个命令行解决方案。在TortoiseGit中是否有实现?
您应该阅读这篇文章:使用TortoiseGit远程分支机构
据此博客文章:
...通过首先打开 Checkout / Switch
对话框来获取浏览refs
对话框。
Browse refs 对话框中,我们可以右键单击本地分支并选择删除它。
要删除远程分支,我们可以做同样的事情,但不是右键单击我们的本地分支,我们展开对话框左侧的远程树,然后找到远程分支。
Is there an option to delete a branch with TortoiseGit?
I found a solution for the commandline. Is there an implementation in TortoiseGit?
You should read this article: Remote branches with TortoiseGit
According to this blog post:
...remove the local branch by first opening up the Checkout/Switch
dialog to get at the Browse refs
dialog.
In the Browse refs
dialog we can right click on the local branch and choose to delete it.
To delete a remote branch we can do the same thing, but instead of right clicking on our local branch we expand the remotes tree in the left part of the dialog and then locate the remote branch.
这篇关于如何用TortoiseGit删除Git分支的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!