git 国内源

git config --global url.“https://hub.fastgit.xyz/”.insteadOf “https://github.com/”
git config --global url.“https://hub.fastgit.xyz/”.insteadOf “git://github.com/”

取消 FastGit 代理:

git config --global --unset url.“https://hub.fastgit.xyz/”.insteadOf

你可能感兴趣的:(git)