上游代码下载方式汇总

执行以下命令,每个机器只需执行一次

git config --global url."ssh://$(git config --get user.name)@gerrit.auto.mioffice.cn".pushInsteadOf ssh://$(git config --get user.name)@slave.auto.mioffice.cn

最新:车型分支线列表

https://tailor.auto.xiaomiev.com/device/branch/list

8295 主线 Xiaomi分支:

repo init -u ssh://$(git config --get user.name)@slave.auto.mioffice.cn:29418/platform/manifest.git -b dev -m s-watt-dev.xml --repo-url=ssh://$(git config --get user.name)@slave.auto.mioffice.cn:29418/tools/repo --repo-branch=google-stable --no-repo-verify
repo sync -c -j10

8295 SOP Desay分支:

repo init -u ssh://$(git config --get user.name)@slave.auto.mioffice.cn:29418/platform/manifest.git -b desay-dev -m SOP_br_desay_post_cs1_4241_000071.xml --repo-url=ssh://$(git config --get user.name)@slave.auto.mioffice.cn:29418/tools/repo --repo-branch=google-stable --no-repo-verify
repo sync -j10

8295 POST CS2 000071 Desay分支:

repo init -u ssh://$(git config --get user.name)@slave.auto.mioffice.cn:29418/platform/manifest.git -b desay-dev -m br_desay_post_cs1_4241_000071.xml --repo-url=ssh://$(git config --get user.name)@slave.auto.mioffice.cn:29418/tools/repo --repo-branch=google-stable --no-repo-verify
repo sync -j10

8295 ES2 Desay分支:

repo init -u ssh://$(git config --get user.name)@slave.auto.mioffice.cn:29418/platform/manifest.git -b desay-dev -m desay-s-watt-temp.xml --repo-url=ssh://$(git config --get user.name)@slave.auto.mioffice.cn:29418/tools/repo --repo-branch=google-stable --no-repo-verify
repo sync -c -j2

Pad 5 Pro S 产品代码:

# 创建目录层级
 elish-dev
   - qssi
   - vendor
 
cd qssi
repo init -u ssh://$(git config --get user.name)@slave.auto.mioffice.cn:29418/platform/manifest.git -b dev -m s-elish-dev.xml --repo-url=ssh://$(git config --get user.name)@slave.auto.mioffice.cn:29418/tools/repo --repo-branch=google-stable --no-repo-verify
repo sync -j2 -c
 
cd vendor
repo init -u ssh://$(git config --get user.name)@gerrit.auto.mioffice.cn:29418/platform/manifest.git -b dev -m bsp-r-elish-dev.xml --repo-url=ssh://$(git config --get user.name)@gerrit.auto.mioffice.cn:29418/tools/repo --repo-branch=google-stable --no-repo-verify
repo sync -j2 -c

8295 E2 release分支代码:

repo init -u ssh://$(git config --get user.name)@slave.auto.mioffice.cn:29418/platform/manifest.git -b release -m s-watt-release-e2-1.1.0.xml --repo-url=ssh://$(git config --get user.name)@slave.auto.mioffice.cn:29418/tools/repo --repo-branch=google-stable --no-repo-verify
repo sync -j2 -c

8295 E3/E4/E4U release分支代码:

Release分支信息

repo init -u ssh://$(git config --get user.name)@slave.auto.mioffice.cn:29418/platform/manifest.git -b release -m s-watt-release-e3-1.0.0.xml --repo-url=ssh://$(git config --get user.name)@slave.auto.mioffice.cn:29418/tools/repo --repo-branch=google-stable --no-repo-verify
 
repo init -u ssh://$(git config --get user.name)@slave.auto.mioffice.cn:29418/platform/manifest.git -b release -m s-watt-release-e4-1.0.0.xml --repo-url=ssh://$(git config --get user.name)@slave.auto.mioffice.cn:29418/tools/repo --repo-branch=google-stable --no-repo-verify
 
repo init -u ssh://$(git config --get user.name)@slave.auto.mioffice.cn:29418/platform/manifest.git -b release -m s-watt-release-e4u-1.0.0.xml --repo-url=ssh://$(git config --get user.name)@slave.auto.mioffice.cn:29418/tools/repo --repo-branch=google-stable --no-repo-verify

高通原生代码(QNX):

git clone "ssh://$(git config --get user.name)@slave.auto.mioffice.cn:29418/sa8295p-hqx-4-2-4-0_amss_standard_oem"
 
git clone "ssh://$(git config --get user.name)@slave.auto.mioffice.cn:29418/sa8295p-hqx-4-2-4-0_hlos_dev_la"
 
git clone "ssh://$(git config --get user.name)@slave.auto.mioffice.cn:29418/sa8295p-hqx-4-2-4-0_hlos_dev_lv"
 
git clone "ssh://$(git config --get user.name)@slave.auto.mioffice.cn:29418/sa8295p-hqx-4-2-4-0_hlos_dev_osh"
 
git clone "ssh://$(git config --get user.name)@slave.auto.mioffice.cn:29418/sa8295p-hqx-4-2-4-0_hlos_dev_qnx"
 
git clone "ssh://$(git config --get user.name)@slave.auto.mioffice.cn:29418/sa8295p-hqx-4-2-4-0_hlos_dev_qnx-api"

8295 ES1 Xiaom分支(备份):

ES1 001.2:
repo init -u ssh://$(git config --get user.name)@slave.auto.mioffice.cn:29418/platform/manifest.git -b bak -m s-watt-dev.xml --repo-url=https://mirrors.tuna.tsinghua.edu.cn/git/git-repo --depth=1
repo sync -c -j2

8295 ES1 Desay分支(备份):

ES1 001.2:
repo init -u ssh://$(git config --get user.name)@gerrit.auto.mioffice.cn:29418/platform/manifest.git -b desay-dev -m desay-s-watt-dev.xml --repo-url=https://mirrors.tuna.tsinghua.edu.cn/git/git-repo --depth=1
repo sync -c -j2

bsp-a3代码(不维护):

repo init -u ssh://$(git config --get user.name)@gerrit.auto.mioffice.cn:29418/platform/manifest.git -b alphatrion -m bsp-a3.xml --repo-url=https://mirrors.tuna.tsinghua.edu.cn/git/git-repo
repo sync -c -j16

mega_8155代码(不维护):

repo init -u ssh://$(git config --get user.name)@gerrit.auto.mioffice.cn:29418/platform/manifest.git -b mega_8155 --repo-url=https://mirrors.tuna.tsinghua.edu.cn/git/git-repo
repo sync

desay_8155代码(不维护):

repo init -u  ssh://$(git config --get user.name)@gerrit.auto.mioffice.cn:29418/platform/manifest.git -b desay_8155 --repo-url=https://mirrors.tuna.tsinghua.edu.cn/git/git-repo
repo sync

高通基线裁剪版(不维护):

ES1 001.2:
repo init -u ssh://$(git config --get user.name)@gerrit.auto.mioffice.cn:29418/platform/manifest.git -b br_sa8295p-hqx-4-2-4-0 --repo-url=https://mirrors.tuna.tsinghua.edu.cn/git/git-repo --depth=1
repo sync -c -j2
 
 
ES2 201.1a:
repo init -u ssh://$(git config --get user.name)@gerrit.auto.mioffice.cn:29418/platform/manifest.git -b br_8295_201.1a --repo-url=https://mirrors.tuna.tsinghua.edu.cn/git/git-repo --depth=1
repo sync -c -j2