在mac下通过go get获取需要登录权限的仓库时报:could not read Username for ****** 的解决方法

通过如下的形式进行go get

env GIT_TERMINAL_PROMPT=1 go get xxxx
posted @ 2017-08-24 14:14  卜木  阅读(986)  评论(0编辑  收藏  举报