首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Hexo无法部署

Hexo无法部署
EN

Stack Overflow用户
提问于 2015-12-09 19:55:00
回答 1查看 473关注 0票数 0

我无法部署?当我在hexo generate之后执行hexo server时,我可以看到当我执行hexo deploy It提示时应该执行be.But的页面:

代码语言:javascript
复制
To https://github.com/gabygoole/gabygoole.github.io.git
 ! [remote rejected] master -> master (failed to lock)
error: failed to push some refs to 'https://github.com/gabygoole/gabygoole.githu                                                               b.io.git'
FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/do                                                               cs/troubleshooting.html
Error: To https://github.com/gabygoole/gabygoole.github.io.git
 ! [remote rejected] master -> master (failed to lock)
error: failed to push some refs to 'https://github.com/gabygoole/gabygoole.githu                                                               b.io.git'


at ChildProcess.<anonymous> (C:\blog\node_modules\hexo-deployer-git\node_mod                                                               ules\hexo-util\lib\spawn.js:42:17)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:818:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
EN

回答 1

Stack Overflow用户

发布于 2015-12-09 20:41:49

事实是,我在GithHub远程主branch.But中添加了一个文件,我没有添加文件locally.When,我强制推送到远程主分支,这意味着我删除了file.So,只需在本地添加文件,然后推送到远程master.everything就可以了!

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/34178224

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档