它与
glide任何其他程序包管理工具无关。您必须在git http.extraheader中设置create和gitlab访问令牌。
转到gitlab 设置- >访问令牌并创建新的访问令牌,请确保仅将其复制一次。
然后设置这些git的全局变量,现在你可以安装私有仓库使用
glide,
go get,
godep,等。
git config –global http.extraheader“私人令牌:YOUR_ACCESS_TOKEN”
git config –global url。“ git@bezos.gitlab.com:”。insteadOf“
https://bezos.gitlab.com/ ”



