在项目目录下.git/consifg
[url "ssh://git@ssh.github.com:443/"]
insteadOf = git@github.com:
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
ignorecase = true
[url "ssh://git@ssh.github.com:443/"]
insteadOf = git@github.com:
[remote "origin"]
url = git@github.com:xxx/x.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "main"]
remote = origin
merge = refs/heads/main