今天在使用hexo搭建個人博客的時候,出現一個及其令人噴血的報錯:

我幾乎查遍了所有有關hexo提交報錯的解決辦法,都!沒!用!
就在我准備重裝虛擬機系統的時候,掃了一眼創建文件下的配置文件推送路徑:
deploy:
type: ''
repo:
github: git@github.com:LemonMei/LemonMei.github.io.git
# github: https://github.com/LemonMei/LemonMei.github.io.git
branch: master
# backup
backup:
type: git
message: backup my blog of https://yourname.github.io/
repository:
github: https://github.com/LemonMei/LemonMei.github.io.git,backup
TMD!!!
我的type后面沒有跟git!!!
真的絕了...
附上他正確的寫法:
deploy:
type: git
repo:
github: git@github.com:LemonMei/LemonMei.github.io.git
# github: https://github.com/LemonMei/LemonMei.github.io.git
branch: master
# backup
backup:
type: git
message: backup my blog of https://yourname.github.io/
repository:
github: https://github.com/LemonMei/LemonMei.github.io.git,backup
