补充 source bashrc 和 repo acrn android 等内容,修正 markdown 语法错误。

Signed-off-by: ithink.chan <chenyang@autoai.com>
This commit is contained in:
ithink.chan 2019-07-25 13:29:09 +08:00
parent 4e74c30d13
commit 937695ba54
2 changed files with 16 additions and 8 deletions

View File

@ -1,28 +1,34 @@
# Repo 使用
# 创建并切换分支
## 创建并切换分支
repo start <新分支名> --all
# 查看分支
## 查看分支
repo branches
# 切换分支
## 切换分支
repo checkout <远程分支名>
# 提交代码
## 提交代码
git commit -asm <Commit信息>
# Push 代码:
## Push 代码
git push <远程主机名> <本地分支名>:refs/for/<远程分支名>
git push <远程主机名> <本地分支名>:refs/drafts/<远程分支名>
## Gerrit 服务器 Android 使用
ACRN
repo init -u ssh://cheny@10.20.0.34:29418/manifests -b oa/gordon_peak_acrn/a90/rel -m manifest-AAH.xml
repo sync -j<线程数>
Nitc:
repo init -u ssh://chensf@10.20.3.17:29418/manifests -b nitc
repo sync -j<线程数>

View File

@ -8,8 +8,10 @@
export REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/'
写入 ~/.bashrc 文件。
写入 ~/.bashrc 文件。最后:
source ~/.bashrc
## 参考
[repo init报错Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle](https://blog.csdn.net/feiniao8651/article/details/59178128)
[repo init报错Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle](https://blog.csdn.net/feiniao8651/article/details/59178128)