Git 更新本地的分支

acmerfight · January 06, 2013 · Last by goinaction replied at January 06, 2013 · 2086 hits

一个项目一共有三个分支,在我的电脑上也有这个项目的三个分支,现在其他人修改了其中的一个分支代码,我想把他的修改 pull 回本地。应该怎么操作啊?git pull --all 可行吗?

这样应该行 git checkout branch-name git pull remote-name branch-name

#1 楼 @goinaction git pull --all 这个可行吗?

#2 楼 @acmerfight--all没用过,看 help 说法是fetch from all remote 我猜想如果你有多个 remote 源的话可能会有问题,最好是你自己试试😄

You need to Sign in before reply, if you don't have an account, please Sign up first.