把int分支的所有修改回归到dev分支上
repo命令:
#!/bin/bash
#rebase debug version echo -e "\n============rebase yl_common_7.0_Dev ===============" cd ~/upgrade/manifest_common #repo init -u ssh://system9@10.3.11.22:29418/qualcomm/manifests -b yl_spf -m szmf/manifest_yl_common_7.0.xml repo sync -j8 repo abandon temp repo forall -c "git checkout -b temp" repo forall -c "git push -f njcp temp:yl_common_7.0_Dev" echo -e "\n============rebase yl_spf_2.0_Dev ===============" cd ~/upgrade/manifest_spf_2.0 #repo init -u ssh://system9@10.3.11.22:29418/qualcomm/manifests -b yl_spf -m szmf/manifest_yl_spf_2.0.xml repo sync -j8 repo abandon temp repo forall -c "git checkout -b temp"repo forall -c "git push -f njcp temp:yl_spf_2.0_Dev"
git命令:
在int流环境代码库my_code下: system5@ubuntu:~/MSM8952_5.1_Abroad_Int/Env1/my_code/yulong$ ~/repo/repo sync -j8 system5@ubuntu:~/MSM8952_5.1_Abroad_Int/Env1/my_code/yulong$ ~/repo/repo forall -c "git checkout -b temp" system5@ubuntu:~/MSM8952_5.1_Abroad_Int/Env1/my_code/yulong$ ~/repo/repo forall -c "git push -f yulong temp:MSM8952_5.1_Abroad_Dev"