如何用TortoiseGit删除Git分支 [英] How do I delete a Git branch with TortoiseGit

查看:247
本文介绍了如何用TortoiseGit删除Git分支的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以选择使用 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆