开源 企业版 高校版 私有云 模力方舟 AI 队友
精选
自定义精选项目
最多可选取 6 个公开仓库
还能勾选 0
组织介绍

为了方便大家快速访问和下载 APM/https://gitee.com/px4pilot,https://gitee.com/ardupilot,https://gitee.com/mavlink,https://gitee.com/dronecan,http://gitee.com/ardupilot )是对 如何使用

全局配置https://github.com/ardupilot/替换为https://gitee.com/ardupilot/

git config --global url."https://gitee.com/ardupilot/".insteadOf https://github.com/ardupilot/

使用以下命令 取消https://github.com/ardupilot 的自动替换:

git config --global --unset url."https://gitee.com/ardupilot/.insteadof"

然后就可以从 gitee.com 上 clone 或者 pull 相关代码:

# 使用github.com或者gitee.com都可以,如果github.com会自动替换为gitee.com
git clone https://github.com/ardupilot/ardupilot.git --recursive

更多阅读

成就
2
Star
5
Fork
成员(1)
点此查找更多帮助

搜索帮助

回到顶部

AltStyle によって変換されたページ (->オリジナル) /