Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/kotlin/3.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工作树更新远程分支_Git - Fatal编程技术网

git工作树更新远程分支

git工作树更新远程分支,git,Git,我在工作树中签出了一个远程分支 git工作树添加../test dummyRemoteBranch 我想知道dummyRemoteBranch是否更新了,如何进行git拉取,以便工作树具有最新的代码 cd ../test git pull origin dummyRemoteBranch 如果要与其他分支同步,请用它替换dummyRemoteBranch

我在工作树中签出了一个远程分支

git工作树添加../test dummyRemoteBranch

我想知道dummyRemoteBranch是否更新了,如何进行git拉取,以便工作树具有最新的代码

cd ../test
git pull origin dummyRemoteBranch
如果要与其他分支同步,请用它替换dummyRemoteBranch