赞
踩
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
- export GIT_TERMINAL_PROMPT=1
- go get XXX
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。