git worktree 更新远程分支

返回搜狐,查看更多

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

git worktree add ../test dummyRemoteBranch

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

埃尔派凯
cd ../test
git pull origin dummyRemoteBranch

如果要与其他分支同步,请替换dummyRemoteBranch为它。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章