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