Go get报错 fatal: could not read Username for ‘https://xxx‘: terminal prompts disabled【解决方案】
原因:go get 默认使用https拉取源码,缺少ssh用户权限。
解决方案:
配置git config。
以GitHub为例:
git config --global --add url."git@github.es.ecg.tools:".insteadOf "https://github.es.ecg.tools/"
另外,补充一些go get相关的命令:
运行 go get -u 将会升级到最新的次要版本或者修订版本(x.y.z, z是修订版本号, y是次要版本号)
运行 go get -u=patch 将会升级到最新的修订版本
运行 go get package@version 将会升级到指定的版本号version
Go get报错 fatal: could not read Username for ‘https://xxx‘: terminal prompts disabled【解决方案】相关推荐
- git报错fatal: could not read Username for ‘https://git.xxx.cn‘: terminal prompts disabled Confirm
export GIT_TERMINAL_PROMPT=1 # 报错是因为没登录,设置这个后,会提示登录
- gitlab报错 fatal: index-pack failed error: RPC failed; result=18, HTTP code = 200解决方案
gitlab报错 "fatal: index-pack failed error: RPC failed; result=18, HTTP code = 200",如下图 这个问题 ...
- oracle 10035 err 942,案例:Oracle日志报错 Fatal NI connect error 12170 TNS-12535 TNS-00505
天萃荷净 Oracle数据库alert日志文件报错Fatal NI connect error 12170,通过查看mos相关文章找到解决办法 今天在一台服务器的日志文件中,发现如下信息: Fatal ...
- git配置报错fatal: Authentication failed for ‘‘问题解决
git配置报错fatal: Authentication failed for ''问题解决 参考文章: (1)git配置报错fatal: Authentication failed for ''问题 ...
- Mysql报错Fatal error:Can't open and lock privilege tables
Mysql报错Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist 安装mysql后 ...
- 以太坊搭建,不能使用puppeth 创建初始块,报错Fatal: Failed to write genesis block: unsupported fork ordering: eip15
以太坊搭建,不能使用puppeth 创建初始块,报错Fatal: Failed to write genesis block: unsupported fork ordering: eip15 新建 ...
- 安装Python3.5后,pip报错Fatal error in launcher: Unable to create process using ‘“‘解决方案
安装Python3.5后,pip报错Fatal error in launcher: Unable to create process using '"'解决方案 参考文章: (1)安装Py ...
- 解决win10下 git闪退的问题(或者使用git命令报错fatal: open /dev/null or dup failed)
解决win10下 git闪退的问题(或者使用git命令报错fatal: open /dev/null or dup failed) 本人在win10下安装git完成后,打开闪退,在"运行&q ...
- git拉取代码报错fatal Authentication failed for ‘httpxxxx.git‘‘解决方案
git拉取代码报错fatal: Authentication failed for 'http:xxxx.git''解决方案 1.需求背景 最近由于自己的主机出问题了,所以换了一台主机,然后在换的主机 ...
最新文章
- 图灵奖获得者Yann LeCun:未来几十年AI研究的最大挑战是「预测世界模型」
- mysql数据库表删了重建error_数据库内核月报 - 2015 / 09-MySQL · 捉虫动态 · 建表过程中crash造成重建表失败-阿里云开发者社区...
- 列联表分析程序,以卢淑华书上的例子为例
- 第13章:项目合同管理--章节真题
- 直线回归数据 离群值_处理离群值:OLS与稳健回归
- 数据库人员面试:SQL Server常用测试题
- H计算机语言吗,计算机考研面试------编程语言
- 今日恐慌与贪婪指数为75 贪婪程度有所缓解
- 计算机操作系统笔记(三)
- windows交互式登陆
- FontAwesome动态旋转图标类(fa-spinfa-pulse)
- Python发送电子邮件.
- 微信小程序链接wifi
- 毕业5年,腾讯65万,拿到美团、滴滴、快手、阿里offer多少钱
- 微信公众号与小程序(二十——关于我如何莫名其妙建了一个电影搜索机器人这件事)
- 微星服务器主板s0591显示35,微星MS-S0131服务器主板性能升华
- Transformer Tracking
- linux 下动态链接库的创建与使用——dlopen,dlsym
- 用友iuap低代码开发驱动商业创新
- matlab sym2,sym2poly poly2sym