mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2026-06-12 21:29:31 +08:00
v1.0.0-beta 源码正式开源
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# Git管理同步配置
|
||||
|
||||
#### 同时推送Gitee和Github
|
||||
找到项目目录下的`.git`文件夹,打开`config`文件,修改相关代码:
|
||||
原始代码:
|
||||
```bash
|
||||
[remote "origin"]
|
||||
url = https://gitee.com/ialley-workshop-open/uni-halo.git
|
||||
fetch = +refs/heads/*:refs/remotes/origin/*
|
||||
```
|
||||
修改后的代码:
|
||||
```bash
|
||||
[remote "github"]
|
||||
url = https://github.com/ialley-workshop-open/uni-halo.git
|
||||
fetch = +refs/heads/*:refs/remotes/github/*
|
||||
[remote "gitee"]
|
||||
url = https://gitee.com/ialley-workshop-open/uni-halo.git
|
||||
fetch = +refs/heads/*:refs/remotes/gitee/*
|
||||
```
|
||||
Reference in New Issue
Block a user