我有一个远程分支,我在工作树中签出了它
git worktree add ../test dummyRemoteBranch
我想知道是否dummyRemoteBranch
已更新,如何进行 git pull 以便工作树具有最新的代码?
cd ../test
git pull origin dummyRemoteBranch
如果要与其他分支同步,请替换dummyRemoteBranch
为它。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句