Last active
September 10, 2021 09:42
-
-
Save abnerCrack/6ae4a160bdf1ee610c4341d4166ff103 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 解决阿里云、腾讯云无法git clone | |
# 镜像到阿里源 | |
git config --global url."https://github.com.cnpmjs.org/".insteadOf "https://github.com/" | |
git config --global protocol.http.allow always | |
# 备选 | |
git config --global url."https://hub.fastgit.org/".insteadOf "https://github.com/" | |
git config --global protocol.http.allow always | |
# Golang 无法go get | |
# 镜像到 goproxy.io | |
go env -w GO111MODULE=on | |
go env -w GOPROXY=https://goproxy.io,direct | |
# npm 、yarn 镜像源 | |
https://gist.github.com/wayou/baa18849de3424db5d7ca24e94645c25 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment