fatal: could not read Username for ‘https://git.dev.tencent.com’ 解决方法
在使用webhook自动部署时测试出现此问题,通过以下方法粗暴解决:
vim .git/config 文件,在remote "origin" url中加入帐号密码,如图所示,格式为 https://username:password@git.dev.tencent.com/xxx/xxx.git
在使用webhook自动部署时测试出现此问题,通过以下方法粗暴解决:
vim .git/config 文件,在remote "origin" url中加入帐号密码,如图所示,格式为 https://username:password@git.dev.tencent.com/xxx/xxx.git