进入clone项目的.git目录
修改config信息
最初信息
更改后
参考如下:
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
[submodule]
active = .
[remote "origin"]
url = https://gitee.com/Zzxdth/simplemall.git
fetch = +refs/heads/*:refs/remotes/origin/*
url = https://github.com/Zzxdth/simplemall.git
[branch "master"]
remote = origin
merge = refs/heads/master
[remote "github"]
url = https://github.com/Zzxdth/simplemall.git
fetch = +refs/heads/*:refs/remotes/gitee/*
tagopt = --no-tags
提交效果:
github:
gitee: