change repo addr to gitlink in webdoc
This commit is contained in:
parent
3e6ad525e1
commit
c655c65413
|
@ -5,20 +5,20 @@
|
|||
假定您在Trustie的用户名为“panda”
|
||||
|
||||
### 步骤1:复刻
|
||||
再在浏览器中打开XiUOS的文档项目首页[https://forgeplus.trustie.net/projects/xuos/xuos-web](https://forgeplus.trustie.net/projects/xuos/xuos-web), 点击右上角的"复刻" 按钮
|
||||
再在浏览器中打开XiUOS的文档项目首页[https://www.gitlink.org.cn/xuos/xuos-web](https://www.gitlink.org.cn/xuos/xuos-web), 点击右上角的"复刻(Fork)" 按钮
|
||||
|
||||
这样您就在自己的个人空间中有了XiUOS文档库的一个复刻代码库, 地址为
|
||||
|
||||
项目首页为 "https://forgeplus.trustie.net/projects/panda/xuos-web"
|
||||
项目首页为 "https://www.gitlink.org.cn/panda/xuos-web"
|
||||
|
||||
代码库地址为 "https://git.trustie.net/panda/xuos-web.git"
|
||||
代码库地址为 "https://code.gitlink.org.cn/panda/xuos-web.git"
|
||||
|
||||
### 步骤2 : 下载到本地,并配置
|
||||
|
||||
* 从个人空间下载
|
||||
|
||||
```
|
||||
git clone https://git.trustie.net/panda/xuos-web.git
|
||||
git clone https://code.gitlink.org.cn/panda/xuos-web.git
|
||||
```
|
||||
|
||||
::: warning 警告
|
||||
|
@ -29,7 +29,7 @@ git clone https://git.trustie.net/panda/xuos-web.git
|
|||
|
||||
```
|
||||
# 设置 upstream
|
||||
git remote add upstream https://git.trustie.net/xuos/xuos-web.git
|
||||
git remote add upstream https://code.gitlink.org.cn/xuos/xuos-web.git
|
||||
# 禁止直接向 upstream 推送代码
|
||||
git remote set-url --push upstream no_push
|
||||
```
|
||||
|
@ -149,7 +149,7 @@ git push origin develop
|
|||
|
||||
### 步骤9 : 合并请求(pull request)
|
||||
|
||||
到自己个人服务器端仓库的首页 https://forgeplus.trustie.net/projects/panda/xuos-web, 点击 **合并请求** ,
|
||||
到自己个人服务器端仓库的首页 https://www.gitlink.org.cn/panda/xuos-web, 点击 **合并请求** ,
|
||||
|
||||
设置源分支:
|
||||
|
||||
|
|
Loading…
Reference in New Issue