git - Sourcetree/git 不显示关闭的远程分支

标签 git atlassian-sourcetree

是否可以在 sourcetree 中 stash 已关闭的远程分支?我不希望远程部分显示所有已经关闭的旧 Remote 。

最佳答案

根据 this似乎您无法关闭 git 上的分支。

一种解决方法是,您可以将分支从 bName 重命名为 oldClosedBranches/bName,然后您将只为所有分支保留一个“文件夹”。

Rename-master-branch-for-both-local-and-remote-git-repositories

关于git - Sourcetree/git 不显示关闭的远程分支,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33275772/

相关文章:

git - 在不影响当前分支的情况下从另一个分支获取更改

ssh - 在 Sourcetree Windows 中为 Mercurial 存储库启用 SSH 压缩

macos - Git、Tower 和 Sourcetree

atlassian-sourcetree - Sourcetree 没有在拉取中填充我的开发分支

git - HEAD@{n} 在 git reflog 的输出中意味着什么?

GIT,工作目录是如何填充的

git - 在 SQUASHED 时检查 Git 分支是否已 merge 到 master 中?

git - 重新使用 Git 的冲突解决方案

github - 无法在 sourcetree 和 github 之间获取 SSH key

git - 如何配置Visual Studio 2013与Git/SourceTree一起使用