当前位置:   article > 正文

fatal: could not read Username for 'https://gitee.com': terminal prompts disabled_error obtaining vcs status: exit status 1

error obtaining vcs status: exit status 1

go get gitee.com/t_group/file-trde-cmon@new
go: gitee.com/wt_group/filesode-mon@v0.0.05021721-3e7b2c597232: invalid version: git fetch -f https://gitee.com/wdfp/file-trde-common.git refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /home/wd/go/pkg/mod/cache/2c28f140420731228b8552b71a3dda3b0: exit status 128:
    fatal: could not read Username for 'https://gitee.com': terminal prompts disabled

 

解决方案:环境设置GIT_TERMINAL_PROMPT=1

  1. export GIT_TERMINAL_PROMPT=1
  2. go get XXX
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Gausst松鼠会/article/detail/680921
推荐阅读
相关标签
  

闽ICP备14008679号