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 ///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///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 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 Files\Git\Hexo\node_modules\hexo-util\lib\spawn.js::)
- at emitTwo (events.js::)
- at ChildProcess.emit (events.js::)
- at ChildProcess.cp.emit (D:\Program Files\Git\Hexo\node_modules\cross-spawn\lib\enoent.js::)
- at Process.ChildProcess._handle.onexit (internal/child_process.js::)
红色的就是报错部分,
3步解决
- .rm -rf .deploy
- .hexo generater
- .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.的更多相关文章
- nothing to commit, working tree clean
本地git提交代码,没有发现有什么啥情况. 本地代码提交不上去
- 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 ...
- Merge branch 'master' of xxx error
Merge branch 'master' of xxx Please enter a commit message to explain why this merge is necessary,es ...
- Git push 时如何避免出现 "Merge branch 'master' of ..."
在使用 Git 的进行代码版本控制的时候,往往会发现在 log 中出现 "Merge branch 'master' of ..." 这句话,如下图所示.日志中记录的一般为开发过程 ...
- 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:/ ...
- 解决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 ...
- 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-> ...
- 解决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 ...
- 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-> ...
随机推荐
- Spark SQL CLI 实现分析
背景 本文主要介绍了Spark SQL里眼下的CLI实现,代码之后肯定会有不少变动,所以我关注的是比較核心的逻辑.主要是对照了Hive CLI的实现方式,比較Spark SQL在哪块地方做了改动,哪些 ...
- JBoss AS6 的服务状态说明
(本文源码版本号为JBoss-AS-Final 6.1.0) JBoss 的服务状态定义在 LifecycleState 类中. 一共同拥有八个状态:INSTANCIATED, PRE_INIT, I ...
- jsp,velocity,freemark页面引擎的比較
在java领域.表现层技术主要有三种:jsp.freemarker.velocity. jsp是大家最熟悉的技术 长处: 1.功能强大,能够写java代码 2.支持jsp标签(jsp tag) 3.支 ...
- 鸟哥的Linux私房菜-----10、学习Bash
- Python&MySQL
环境:windows8+Python2.7+MySQL5.6 尝试过在C/C++中嵌入SQL语言,最终在其复杂"繁琐"环境配置中败下阵来,后来发现Python和MySQL比較eas ...
- 学学cookie和session
什么是Cookie? HTTP Cookie(也叫 Web Cookie或浏览器 Cookie)是服务器发送到用户浏览器并保存在本地的一小块数据,它会在浏览器下次向同一服务器发起请求时被携带并发送到服 ...
- CSS伪类对象before和after的实例
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/ ...
- [App Store Connect帮助]三、管理 App 和版本(4)创建新版本
当您准备分发 App 的新版本时,您创建的新版本使用您为原始版本创建的 App 记录.该新版本将对购买过先前版本的顾客免费可用. 各版本使用的 Apple ID(App 标识符).SKU 和套装 ID ...
- JavaScript中.和[]有什么区别?
.与[]都可以用于读取或修改对象属性. <script> var myData={ name:"Adam", weather:"sunny", }; ...
- 康少带你玩转CSS-1
什么是CSS? 层叠样式表(假如HTML是一个人的话,css就是一个人的装饰品,比如裙子,衣服口红) 用来干什么的 设置标签样式的 css注释 单行注释/**/ 多行注释 /* */ 语法结构 三种引 ...