go get 私有仓库的办法 2019 年 9 月 8 日 作者 马谦马谦马谦 以 github.com 为例,在 git 配置中在 git 配置中加上: git config --global url."git@github.com:".insteadOf "https://github.com/" 1 git config --global url."[email protected]:".insteadOf "https://github.com/"