On branch master nothing to commit, working tree clean ERROR: Repository not found. fatal: Could not read from remote repository.
阿新 • • 發佈:2019-05-14
solution not sys lang color node 報錯 mini have
將gitbash部署hexo到github:hexo deploy
報以下錯誤:
[email protected] 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 endingsin 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 CRLFin 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 endingsin 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 Files\Git\Hexo\node_modules\hexo-util\lib\spawn.js:52:19) at emitTwo (events.js:126:13) at ChildProcess.emit (events.js:214:7) at ChildProcess.cp.emit (D:\Program Files\Git\Hexo\node_modules\cross-spawn\lib\enoent.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
On branch master nothing to commit, working tree clean ERROR: Repository not found. fatal: Could not read from remote repository.