zoukankan      html  css  js  c++  java
  • On branch master nothing to commit, working tree clean ERROR: Repository not found. fatal: Could not read from remote repository.

    gitbash部署hexo到github:hexo deploy

    报以下错误:

    Administrator@liu MINGW64 /Hexo
    $ hexo d
    INFO  Deploying: git
    INFO  Clearing .deploy_git folder...
    INFO  Copying files from public folder...
    INFO  Copying files from extend dirs...
    warning: LF will be replaced by CRLF in 2019/05/14/hello-world/index.html.
    The file will have its original line endings in your working directory
    warning: LF will be replaced by CRLF in archives/2019/05/index.html.
    The file will have its original line endings in your working directory
    warning: LF will be replaced by CRLF in archives/2019/index.html.
    The file will have its original line endings in your working directory
    warning: LF will be replaced by CRLF in archives/index.html.
    The file will have its original line endings in your working directory
    warning: LF will be replaced by CRLF in css/style.css.
    The file will have its original line endings in your working directory
    warning: LF will be replaced by CRLF in fancybox/helpers/jquery.fancybox-buttons.css.
    The file will have its original line endings in your working directory
    warning: LF will be replaced by CRLF in fancybox/helpers/jquery.fancybox-buttons.js.
    The file will have its original line endings in your working directory
    warning: LF will be replaced by CRLF in fancybox/helpers/jquery.fancybox-media.js.
    The file will have its original line endings in your working directory
    warning: LF will be replaced by CRLF in fancybox/helpers/jquery.fancybox-thumbs.css.
    The file will have its original line endings in your working directory
    warning: LF will be replaced by CRLF in fancybox/helpers/jquery.fancybox-thumbs.js.
    The file will have its original line endings in your working directory
    warning: LF will be replaced by CRLF in fancybox/jquery.fancybox.css.
    The file will have its original line endings in your working directory
    warning: LF will be replaced by CRLF in fancybox/jquery.fancybox.js.
    The file will have its original line endings in your working directory
    warning: LF will be replaced by CRLF in fancybox/jquery.fancybox.pack.js.
    The file will have its original line endings in your working directory
    warning: LF will be replaced by CRLF in js/script.js.
    The file will have its original line endings in your working directory
    On branch master
    nothing to commit, working tree clean
    ERROR: Repository not found.
    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: Spawn failed
        at ChildProcess.<anonymous> (D:Program FilesGitHexo
    ode_moduleshexo-utillibspawn.js:52:19)
        at emitTwo (events.js:126:13)
        at ChildProcess.emit (events.js:214:7)
        at ChildProcess.cp.emit (D:Program FilesGitHexo
    ode_modulescross-spawnlibenoent.js:40:29)
        at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)

    红色的就是报错部分,

    3步解决

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

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

  • 相关阅读:
    练习JSON
    实现JSON+JDBC的简单操作(以显示对象为例)
    三层架构:表示层-业务逻辑层-数据访问层
    实现json的三个操作(训练JSON)
    实现邮箱验证 简化版
    复习注册表单html和jQuery
    监听器(测试在线人数的)第一种 HttpSessionBindingListener
    Django的中间件
    Django form表单
    Django
  • 原文地址:https://www.cnblogs.com/Crazy-Liu/p/10863081.html
Copyright © 2011-2022 走看看