将gitbash部署hexo到github:hexo deploy

报以下错误:

  1. Administrator@liu MINGW64 /Hexo
  2. $ hexo d
  3. INFO Deploying: git
  4. INFO Clearing .deploy_git folder...
  5. INFO Copying files from public folder...
  6. INFO Copying files from extend dirs...
  7. warning: LF will be replaced by CRLF in ///hello-world/index.html.
  8. The file will have its original line endings in your working directory
  9. warning: LF will be replaced by CRLF in archives///index.html.
  10. The file will have its original line endings in your working directory
  11. warning: LF will be replaced by CRLF in archives//index.html.
  12. The file will have its original line endings in your working directory
  13. warning: LF will be replaced by CRLF in archives/index.html.
  14. The file will have its original line endings in your working directory
  15. warning: LF will be replaced by CRLF in css/style.css.
  16. The file will have its original line endings in your working directory
  17. warning: LF will be replaced by CRLF in fancybox/helpers/jquery.fancybox-buttons.css.
  18. The file will have its original line endings in your working directory
  19. warning: LF will be replaced by CRLF in fancybox/helpers/jquery.fancybox-buttons.js.
  20. The file will have its original line endings in your working directory
  21. warning: LF will be replaced by CRLF in fancybox/helpers/jquery.fancybox-media.js.
  22. The file will have its original line endings in your working directory
  23. warning: LF will be replaced by CRLF in fancybox/helpers/jquery.fancybox-thumbs.css.
  24. The file will have its original line endings in your working directory
  25. warning: LF will be replaced by CRLF in fancybox/helpers/jquery.fancybox-thumbs.js.
  26. The file will have its original line endings in your working directory
  27. warning: LF will be replaced by CRLF in fancybox/jquery.fancybox.css.
  28. The file will have its original line endings in your working directory
  29. warning: LF will be replaced by CRLF in fancybox/jquery.fancybox.js.
  30. The file will have its original line endings in your working directory
  31. warning: LF will be replaced by CRLF in fancybox/jquery.fancybox.pack.js.
  32. The file will have its original line endings in your working directory
  33. warning: LF will be replaced by CRLF in js/script.js.
  34. The file will have its original line endings in your working directory
  35. On branch master
  36. nothing to commit, working tree clean
  37. ERROR: Repository not found.
  38. fatal: Could not read from remote repository.
  39.  
  40. Please make sure you have the correct access rights
  41. and the repository exists.
  42. FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
  43. Error: Spawn failed
  44. at ChildProcess.<anonymous> (D:\Program Files\Git\Hexo\node_modules\hexo-util\lib\spawn.js::)
  45. at emitTwo (events.js::)
  46. at ChildProcess.emit (events.js::)
  47. at ChildProcess.cp.emit (D:\Program Files\Git\Hexo\node_modules\cross-spawn\lib\enoent.js::)
  48. at Process.ChildProcess._handle.onexit (internal/child_process.js::)

红色的就是报错部分,

3步解决

  1. .rm -rf .deploy
  2. .hexo generater
  3. .hexo deploy

解决参考链接:https://github.com/hexojs/hexo/issues/67

On branch master nothing to commit, working tree clean ERROR: Repository not found. fatal: Could not read from remote repository.的更多相关文章

  1. nothing to commit, working tree clean

    本地git提交代码,没有发现有什么啥情况. 本地代码提交不上去

  2. Git报错:Your branch is ahead of 'origin/master' by 1 commit

    .    commit之后,用git status,打印信息为: # On branch master # Your branch is ahead of 'origin/master' by 1 c ...

  3. Merge branch 'master' of xxx error

    Merge branch 'master' of xxx Please enter a commit message to explain why this merge is necessary,es ...

  4. Git push 时如何避免出现 "Merge branch 'master' of ..."

    在使用 Git 的进行代码版本控制的时候,往往会发现在 log 中出现 "Merge branch 'master' of ..." 这句话,如下图所示.日志中记录的一般为开发过程 ...

  5. git推送代码报错:fatal: The current branch master has no upstream branch. To push the current branch and set the remote as upstream

    情景再现 远程新建仓库,然后本地 git bash执行以下代码 git init git add . git commit -m 'xxx' git remote add origin https:/ ...

  6. 解决The current branch is not configured for pull No value for key branch.master.merge found in confi

    1.在本地工程目录找到config文件(我的是在E:\rocket\rocket\.git): 2.修改config文件内容为: [core] repositoryformatversion = fi ...

  7. Git hub pull时候的错误 : The current branch is not configured for pull No value for key branch.master.merge found in configuration

    网上多半都是命令行下的解决方案,我用的是EGit,所以要在eclipse里(我的版本是kepler)把下面这句话添加到配置文件中. Window->Preference->Team-> ...

  8. 解决Git报错:The current branch is not configured for pull No value for key branch.master.merge found in configuration

    1.在本地工程目录找到config文件(我的是在D:\git\demo\.git):2.修改config文件内容为: [core] repositoryformatversion = 0 filemo ...

  9. git:解决The current branch is not configured for pull No value for key branch.master.merge found in config

    网上多半都是命令行下的解决方案,我用的是EGit,所以要在eclipse里(我的版本是kepler)把下面这句话添加到配置文件中. Window->Preference->Team-> ...

随机推荐

  1. Spark SQL CLI 实现分析

    背景 本文主要介绍了Spark SQL里眼下的CLI实现,代码之后肯定会有不少变动,所以我关注的是比較核心的逻辑.主要是对照了Hive CLI的实现方式,比較Spark SQL在哪块地方做了改动,哪些 ...

  2. JBoss AS6 的服务状态说明

    (本文源码版本号为JBoss-AS-Final 6.1.0) JBoss 的服务状态定义在 LifecycleState 类中. 一共同拥有八个状态:INSTANCIATED, PRE_INIT, I ...

  3. jsp,velocity,freemark页面引擎的比較

    在java领域.表现层技术主要有三种:jsp.freemarker.velocity. jsp是大家最熟悉的技术 长处: 1.功能强大,能够写java代码 2.支持jsp标签(jsp tag) 3.支 ...

  4. 鸟哥的Linux私房菜-----10、学习Bash

  5. Python&amp;MySQL

    环境:windows8+Python2.7+MySQL5.6 尝试过在C/C++中嵌入SQL语言,最终在其复杂"繁琐"环境配置中败下阵来,后来发现Python和MySQL比較eas ...

  6. 学学cookie和session

    什么是Cookie? HTTP Cookie(也叫 Web Cookie或浏览器 Cookie)是服务器发送到用户浏览器并保存在本地的一小块数据,它会在浏览器下次向同一服务器发起请求时被携带并发送到服 ...

  7. CSS伪类对象before和after的实例

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/ ...

  8. [App Store Connect帮助]三、管理 App 和版本(4)创建新版本

    当您准备分发 App 的新版本时,您创建的新版本使用您为原始版本创建的 App 记录.该新版本将对购买过先前版本的顾客免费可用. 各版本使用的 Apple ID(App 标识符).SKU 和套装 ID ...

  9. JavaScript中.和[]有什么区别?

    .与[]都可以用于读取或修改对象属性. <script> var myData={ name:"Adam", weather:"sunny", }; ...

  10. 康少带你玩转CSS-1

    什么是CSS? 层叠样式表(假如HTML是一个人的话,css就是一个人的装饰品,比如裙子,衣服口红) 用来干什么的 设置标签样式的 css注释 单行注释/**/ 多行注释 /* */ 语法结构 三种引 ...