GIT sourcetree - 我们需要创建本地分支来拉取新的远程分支吗?

GIT sourcetree - do we need to create local branch to pull new remote branch?

我在 GitBucket 服务器上有远程分支 origin/masterorigin/test。当我尝试通过 source tree pull origin/test 分支时,它不是在本地 PC 上我的工作区域中本地创建的,我应该首先创建一个名称为 "test" 的本地分支还是 source tree application 会做它自动?

确保先获取

然后,如“”中所述,您可以签出远程分支到本地分支。

Expanding REMOTES > origin was very close: You need to double click on the remote branch there, in your case test.

这将允许创建一个基于远程分支的新本地分支。