玩的不错。
解决了一些hexo的问题:
转移博客的方法:
链接
之后遇到神奇问题:提醒我要做这一步
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
这一步做完之后,在hexo d的时候又出现问题:
fatal: TaskCanceledException encountered.
▒▒ȡ▒▒һ▒▒▒▒▒▒
bash: /dev/tty: No such device or address
进一步百度,查到了这个:
链接
试了方法2,结果又出现:
Warning: Permanently added 'github.com,13.250.177.223' (RSA) to the list of known hosts.
Received disconnect from 13.250.177.223 port 22:11: Bye Bye
Disconnected from 13.250.177.223 port 22
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
Error: Warning: Permanently added 'github.com,13.250.177.223' (RSA) to the list of known hosts.
Received disconnect from 13.250.177.223 port 22:11: Bye Bye
Disconnected from 13.250.177.223 port 22
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
at ChildProcess.<anonymous> (D:\Hexo\node_modules\hexo-util\lib\spawn.js:37:17)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at ChildProcess.cp.emit (D:\Hexo\node_modules\cross-spawn\lib\enoent.js:40:29)
at maybeClose (internal/child_process.js:925:16)
at Socket.stream.socket.on (internal/child_process.js:346:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:557:12)
这个错误很迷,查了一下没有结果
就又修改了一下config.yml里面的地址,改成了
deploy:
type: git
repo: https://{账号}:{密码}@github.com/{账号}/{账号}.github.io.git
branch: master
居然就ok了!
明天要去拿毕业相册。
记住转团组织关系的事情。
网友评论