之前推送没问题,今天突然就报错
报错主要内容:1
2
3
4
5Error: fatal: HttpRequestException encountered.
An error occurred while sending the request.
bash: /dev/tty: No such device or address
error: failed to execute prompt script (exit code 1)
fatal: could not read Username for 'https://github.com': No error
查了下,修改blog根目录下_config.yml中deploy : repo一项的地址为ssh地址即可。ssh地址可在github仓库中复制,无需任何改动。
推测:不久前新弄了一个ssh-key,也许与此有关