Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/32.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
git flow-如何开始处理现有功能分支_Git_Git Flow - Fatal编程技术网

git flow-如何开始处理现有功能分支

git flow-如何开始处理现有功能分支,git,git-flow,Git,Git Flow,我想开始研究另一个开发人员的特性分支(我们使用git和git流)。 AFAIK分支已发布(推送)。我如何将其获取到本地存储库 我试过: git flow feature pull origin/XXXXXX-1003b fatal: 'origin/XXXXXX-1003b' does not appear to be a git repository fatal: The remote end hung up unexpectedly Failed to pull from remote '

我想开始研究另一个开发人员的特性分支(我们使用git和git流)。 AFAIK分支已发布(推送)。我如何将其获取到本地存储库

我试过:

git flow feature pull origin/XXXXXX-1003b

fatal: 'origin/XXXXXX-1003b' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
Failed to pull from remote 'origin/XXXXXX-1003b'.
以及:


请告知。谢谢

如果您的回购协议中没有分支,并且您想要获得它,您必须使用
git flow track
。这应该起作用:

git flow feature track XXXXXX-1003b
git流特征跟踪 要跟踪远程设备上的现有功能分支,请使用
功能跟踪

git flow feature track xxxxxx-1003b
或者,按照“正常方式”进行操作:


即,更新远程来源,然后签出与同事的分支相对应的分支。

您也可以使用功能/分支名称(1):


(1) 可能是一个新的git流功能,我回答了一个老问题。

什么是
-1003b
意思?我在另一个答案中看到了这一点,并认为这只是一个随机的字母数字,但它们是相同的,所以它有一些意义吗?
git flow feature track xxxxxx-1003b
git fetch origin
git branch -a # list all branches
git checkout feature/xxxxxx-1003b
git flow feature track featurename