| app | ||
| AppScope | ||
| HarmonyOSBaseLibs@c76be01096 | ||
| hvigor | ||
| .gitignore | ||
| .gitmodules | ||
| build-profile.json5 | ||
| code-linter.json5 | ||
| hvigorfile.ts | ||
| oh-package-lock.json5 | ||
| oh-package.json5 | ||
| README.md | ||
| ResourcesCopy.sh | ||
clone仓库
git clone --recurse-submodules https://xuqinmin.com/xuqinmin12/HMosDemo.git
蓝湖下载Android图片资源后,自动转存
ohpm run resourcesCopy
指定新地址
git remote set-url origin "新的仓库地址"
强制推送
git push -f origin master
问题记录
Q: 新代码clone下来,无法运行
A: 使用下面这个命令重新拉取项目
git clone --recurse-submodules https://gitea.51trust.net/mobile/YiwangxinApp-HarmonyOS.git
Q: 预览失败,无报错信息,或者报错信息指定的位置,没有问题
A: 预览页面所在model下,查找
.preview文件夹,删除