diff --git a/Software/Application/Repo/Repo_使用.md b/Software/Application/Repo/Repo_使用.md index ca914bd..8e304f1 100644 --- a/Software/Application/Repo/Repo_使用.md +++ b/Software/Application/Repo/Repo_使用.md @@ -1,28 +1,34 @@ # Repo 使用 -# 创建并切换分支 +## 创建并切换分支 repo start <新分支名> --all -# 查看分支: +## 查看分支 repo branches -# 切换分支: +## 切换分支 repo checkout <远程分支名> -# 提交代码: +## 提交代码 git commit -asm - -# 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<线程数> diff --git a/Software/Application/Repo/Ubuntu_安装和设置_Repo.md b/Software/Application/Repo/Ubuntu_安装和设置_Repo.md index e69975e..99dc887 100644 --- a/Software/Application/Repo/Ubuntu_安装和设置_Repo.md +++ b/Software/Application/Repo/Ubuntu_安装和设置_Repo.md @@ -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) \ No newline at end of file +[repo init报错Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle](https://blog.csdn.net/feiniao8651/article/details/59178128)