How can I upload a git project to gitee and github at the same time, one submission, gitee and github are updated

1. Configure the .git config file

[core]
	repositoryformatversion = 0
	filemode = false
	bare = false
	logallrefupdates = true
	symlinks = false
	ignorecase = true
[remote "origin"]
	url = https://gitee.com/zhong_dawei/crm.git
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = https://github.com/ZDW6060/crm.git
[branch "master"]
	remote = origin
	merge = refs/heads/master

Guess you like

Origin blog.csdn.net/qq_44752641/article/details/114771055