提交 6a0451d9 编写于 作者: D duangavin123 提交者: Gitee

update zh-cn/device-dev/get-code/源码获取.md.

修改样式问题,repo安装中将pip改为pip3
上级 d3ca8b5e
...@@ -280,7 +280,7 @@ OpenHarmony是由开放原子开源基金会(OpenAtom Foundation)孵化及 ...@@ -280,7 +280,7 @@ OpenHarmony是由开放原子开源基金会(OpenAtom Foundation)孵化及
1. 注册码云gitee账号。 1. 注册码云gitee账号。
2. 注册码云SSH公钥,请参考[码云帮助中心](https://gitee.com/help/articles/4181) 2. 注册码云SSH公钥,请参考[码云帮助中心](https://gitee.com/help/articles/4181)
3. 安装[git客户端](http://git-scm.com/book/zh/v2/%E8%B5%B7%E6%AD%A5-%E5%AE%89%E8%A3%85-Git)[git-lfs](https://gitee.com/vcs-all-in-one/git-lfs?_from=gitee_search#downloading))并配置用户信息。 3. 安装[git客户端](http://git-scm.com/book/zh/v2/%E8%B5%B7%E6%AD%A5-%E5%AE%89%E8%A3%85-Git)[git-lfs](https://gitee.com/vcs-all-in-one/git-lfs?_from=gitee_search#downloading)并配置用户信息。
``` ```
git config --global user.name "yourname" git config --global user.name "yourname"
...@@ -293,7 +293,7 @@ OpenHarmony是由开放原子开源基金会(OpenAtom Foundation)孵化及 ...@@ -293,7 +293,7 @@ OpenHarmony是由开放原子开源基金会(OpenAtom Foundation)孵化及
``` ```
curl https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 > /usr/local/bin/repo curl https://gitee.com/oschina/repo/raw/fork_flow/repo-py3 > /usr/local/bin/repo
chmod a+x /usr/local/bin/repo chmod a+x /usr/local/bin/repo
pip install -i https://repo.huaweicloud.com/repository/pypi/simple requests pip3 install -i https://repo.huaweicloud.com/repository/pypi/simple requests
``` ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册