HEXO博客搭建笔记

1
2
3
4
<!-- more --> 阅读全文 手动进行截断
“```python
```”插入代码
1
hexo g&&hexo d

改了一下github的名字,结果hexo d命令失败,先让登录,结果怎么都是登录失败,遇到这个问题要改hexo-deployer-git里面的

1
2
3
deploy:
type: git
repo: git.com:username/username.github.io.git

问题如下:

1
2
3
4
5
6
7
8
9
10
Logon failed, use ctrl+c to cancel basic credential prompt.
bash: /dev/tty: No such device or address
error: failed to execute prompt (exit code 1)
fatal: could not read Username for 'https:
FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
Error: Logon failed, use ctrl+c to cancel basic credential prompt.
bash: /dev/tty: No such device or address
error: failed to execute prompt (exit code 1)
fatal: could not read Username for 'https: