同步操作将从 ApolloAuto/apollo 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
This document describes a smarter approach to clone Apollo repository for users from China.
Apollo on Gitee was one day later than Apollo on GitHub. We can use it as a good start.
git clone https://gitee.com/ApolloAuto/apollo.git
This step takes only serveral minutes, as the download rate can reach up-to > 10MiB/s tested on my machine with
the following console log:
Cloning into 'apollo'...
remote: Enumerating objects: 313277, done.
remote: Counting objects: 100% (313277/313277), done.
remote: Compressing objects: 100% (66199/66199), done.
remote: Total 313277 (delta 245822), reused 310653 (delta 243198), pack-reused 0
Receiving objects: 100% (313277/313277), 2.19 GiB | 11.10 MiB/s, done.
Resolving deltas: 100% (245822/245822), done.
Checking out files: 100% (9124/9124), done.
git remote set-url origin git@github.com:YOUR_GITHUB_USERNAME/apollo.git
# Using SSH
git remote add upstream git@github.com:ApolloAuto/apollo.git
# Using HTTPS
git remote add upstream https://github.com/ApolloAuto/apollo.git
You can confirm that the origin/upstream has been setup correctly by running:
git remote -v
It will show the list of remotes similar to the following:
origin git@github.com:YOUR_GITHUB_USERNAME/apollo.git (fetch)
origin git@github.com:YOUR_GITHUB_USERNAME/apollo.git (push)
upstream git@github.com:ApolloAuto/apollo.git (fetch)
upstream git@github.com:ApolloAuto/apollo.git (push)
git pull --rebase upstream master
You can follow this guide on How to Workaround Slow Pull from CN.
You have successfully cloned Apollo repository. Good luck to your journey of autonomous driving with Apollo!
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。