“远程跟踪分支"在哪里?在TortoiseGit中? [英] Where is "remote tracking branch" in TortoiseGit?

查看:192
本文介绍了“远程跟踪分支"在哪里?在TortoiseGit中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在TortoiseGit中找到远程跟踪分支"以设置要从中提取的默认分支?

解决方案

打开浏览引用"对话框(请参见).

How to find "remote tracking branch" in TortoiseGit to set default branch to pull from?

解决方案

Open the "Browse Refs" dialog (cf. https://tortoisegit.org/docs/tortoisegit/tgit-dug-browse-ref.html). There you can see all local branches and the corresponding remote-tracking branches (you can change the remote-tracking branch using the context menu).

On the pull and fetch dialog, the currently set remote tracked branch should be selected automatically (based on the current local branch) - or the last used remote branch is preselected.

PS: In order to automatically set it up on push, just enable "Set upstream/track remote branch" on the push dialog.

PSS: On the push dialog, there are some TGit specific options, that allow you to have an remote tracked branch (e.g., master from upstream), but store another default where you push to (e.g., master from origin; cf. https://tortoisegit.org/docs/tortoisegit/tgit-dug-push.html).

这篇关于“远程跟踪分支"在哪里?在TortoiseGit中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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