|
12345678910111213141516171819202122 |
- clone仓库
- ```shell
- git clone --recurse-submodules https://gitea.51trust.net/xuqinmin/HarmonyOSEmpty.git
- ```
-
- 指定新地址
- ```shell
- git remote set-url origin "新的仓库地址"
- ```
-
- 强制推送
- ```shell
- git push -f origin master
- ```
-
- > [git子模块相关操作](https://git-scm.com/book/zh/v2/Git-%E5%B7%A5%E5%85%B7-%E5%AD%90%E6%A8%A1%E5%9D%97)
-
- # 问题记录
-
- > Q: 预览失败,无报错信息,或者报错信息指定的位置,没有问题
- >
- > A: 预览页面所在model下,查找 `.preview`文件夹,删除
|