之前推送没问题,今天突然就报错
报错主要内容: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
,也许与此有关