2 Star 3 Fork 0

qpzeng/SuperDesk

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
update.sh 2.22 KB
一键复制 编辑 原始数据 按行查看 历史
qpzeng 提交于 2023-03-22 17:24 +08:00 . add update.sh.
#!/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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/qpzeng/hyper-window.git
git@gitee.com:qpzeng/hyper-window.git
qpzeng
hyper-window
SuperDesk
master

搜索帮助