代码拉取完成,页面将自动刷新
#!/bin/bash
#代码目录
codeDir=~/AnimationDesktop
#远程仓库别名
remoteName=AnimationDesktop
#本地分支名字
localBranchName=master
cd $codeDir/foundation/arkui/ace_engine
git remote add $remoteName https://gitee.com/animation-desktop/arkui_ace_engine
git fetch $remoteName master
git checkout -b $localBranchName $remoteName/master
git pull $remoteName master:$localBranchName --rebase
cd $codeDir/foundation/window/window_manager
git remote add $remoteName https://gitee.com/animation-desktop/window_window_manager
git fetch $remoteName master
git checkout -b $localBranchName $remoteName/master
git pull $remoteName master:$localBranchName --rebase
cd $codeDir/foundation/ability/ability_runtime
git remote add $remoteName https://gitee.com/animation-desktop/ability_ability_runtime
git fetch $remoteName master
git checkout -b $localBranchName $remoteName/master
git pull $remoteName master:$localBranchName --rebase
cd $codeDir/foundation/graphic/graphic_2d
git remote add $remoteName https://gitee.com/animation-desktop/graphic_graphic_2d
git fetch $remoteName master
git checkout -b $localBranchName $remoteName/master
git pull $remoteName master:$localBranchName --rebase
cd $codeDir/interface/sdk-js
git remote add $remoteName https://gitee.com/animation-desktop/interface_sdk-js
git fetch $remoteName master
git checkout -b $localBranchName $remoteName/master
git pull $remoteName master:$localBranchName --rebase
cd $codeDir/developtools/ace_ets2bundle
git remote add $remoteName https://gitee.com/animation-desktop/developtools_ace_ets2bundle
git fetch $remoteName master
git checkout -b $localBranchName $remoteName/master
git pull $remoteName master:$localBranchName --rebase
cd $codeDir/foundation/ability/ability_base
git remote add $remoteName https://gitee.com/animation-desktop/ability_ability_base
git fetch $remoteName master
git checkout -b $localBranchName $remoteName/master
git pull $remoteName master:$localBranchName --rebase
cd $codeDir/foundation/bundlemanager/bundle_framework
git remote add $remoteName https://gitee.com/animation-desktop/bundlemanager_bundle_framework
git fetch $remoteName master
git checkout -b $localBranchName $remoteName/master
git pull $remoteName master:$localBranchName --rebase
cd $codeDir
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。