使用镜像源解决github拉取代码问题

命令行输入以下语句

git config --global url."https://gitclone.com/github.com/".insteadOf "https://github.com/"

就可以解决github因为网络原因拉取不到代码的问题

posted @ 2024-03-05 20:35  护发师兄  阅读(30)  评论(0编辑  收藏  举报