将多重指向全部拉到本地:
- 将本地库的多重指向拉到本地代码库中:
- git fetch 远程代码库名
-
- zhaojiawei@zhaojingrong-S2600CP:~/ATC_AndoridOGO_8827L-mirror/art$ git remove -v
- autochips ssh://b_flyaudio001@release.autochips.com:29418/atc/android/o/platform/art (fetch)
- autochips ssh://b_flyaudio001@release.autochips.com:29418/atc/android/o/platform/art (push)
- other git@172.168.1.63:/home/git/atc/android/o/platform/art (fetch)
- other git@172.168.1.63:/home/git/atc/android/o/platform/art (push)
-
- zhaojiawei@zhaojingrong-S2600CP:~/ATC_AndoridOGO_8827L-mirror/art$ git branch -a
- * android-trunk-o1.ac8227L
- remotes/autochips/android-trunk-o1.ac8227L
- remotes/m/android-trunk-o1.ac8227L -> autochips/android-trunk-o1.ac8227L
- remotes/origin/android-trunk-o1.ac8227L
-
- zhaojiawei@zhaojingrong-S2600CP:~/ATC_AndoridOGO_8827L-mirror/art$ git fetch other
- zhaojiawei@zhaojingrong-S2600CP:~/ATC_AndoridOGO_8827L-mirror/art$ git branch -a
- * android-trunk-o1.ac8227L
- remotes/autochips/android-trunk-o1.ac8227L
- remotes/other/android-trunk-o1.ac8227L
- remotes/m/android-trunk-o1.ac8227L -> autochips/android-trunk-o1.ac8227L
- remotes/origin/android-trunk-o1.ac8227L
- 完成后other/android-trunk-o1.ac8227L就是我们从other远程库git@172.168.1.63:/home/git/atc/android/o/platform/art上拉下来的android-trunk-o1.ac8227L分支
|