记录hexo d 时发生的一次异常错误
2018-01-05 17:02
357 查看
我们在输入 hexo d 后,显示如下
这是要我们输入用户名和邮箱,
4000
git config –global user.email “you@example.com”
git config –global user.name “Your Name”
双引号中间填入自己的就好了,
此处要注意,是email,而不是mail!!!!
一时粗心,导致查来查去怎么也改不过来,大家一定要小心啊!!!
此时再输入hexo d 就OK 了。
$ 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 2018/01/05/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/2018/01/index.html. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in archives/2018/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.j s. 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 index.html. 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. *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this repository. fatal: unable to auto-detect email address (got 'Alex@DESKTOP-I33C9K5.(none)') error: src refspec HEAD does not match any. error: failed to push some refs to 'git@github.com:alexsaurora/alexsaurora.githu b.io.git' FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/do cs/troubleshooting.html Error: error: src refspec HEAD does not match any. error: failed to push some refs to 'git@github.com:alexsaurora/alexsaurora.githu b.io.git' at ChildProcess.<anonymous> (D:\Hexo\node_modules\hexo-util\lib\spawn.js:37: 17) at emitTwo (events.js:106:13) at ChildProcess.emit (events.js:191:7) at ChildProcess.cp.emit (D:\Hexo\node_modules\cross-spawn\lib\enoent.js:40:2 9) at maybeClose (internal/child_process.js:920:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
这是要我们输入用户名和邮箱,
4000
git config –global user.email “you@example.com”
git config –global user.name “Your Name”
双引号中间填入自己的就好了,
此处要注意,是email,而不是mail!!!!
一时粗心,导致查来查去怎么也改不过来,大家一定要小心啊!!!
此时再输入hexo d 就OK 了。
相关文章推荐
- UncaughtException处理类,当程序发生Uncaught异常的时候,由该类来接管程序,并记录发送错误报告.
- Win7/Win8 系统下安装Oracle 10g 提示“程序异常终止,发生未知错误”的解决方法
- oracle 10g 在win7下安装,提示程序异常终止,发生未知错误
- 拦截PHP各种异常和错误,发生致命错误时进行报警,万事防患于未然
- Win8系统下安装Oracle 10g 提示“程序异常终止,发生未知错误”的解决方法
- 安装oracle 10g "程序异常终止,发生内部错误"
- 图片在保存的时候===》出现这个异常:GDI+ 中发生一般性错误
- python错误处理记录完整的异常堆栈信息
- win7安装oracle10g 提示程序异常终止 发生未知错误
- PHP中错误与异常的日志记录用法分析
- win7安装oracle 10g时发生“程序异常终止。发生内部错误”的提示
- Win7/Win8 系统下安装Oracle 10g 提示“程序异常终止,发生未知错误”的解决方法
- 使用BindingSource发生错误:Microsoft.VisualStudio.DataDesign.SyncDesigner.SyncFacade.SyncTableConfigManager 的类型初始值设定项引发异常
- win7安装oracle 10g时发生“程序异常终止。发生内部错误”的提示
- Windows7下安装Oracle 10g提示“程序异常终止,发生未知错误”的解决方法
- 错误记录 要注意异常的抛出
- NET制作安装程序的错误提示:在初始化安装时发生异常 System.IO.FileNotFoundException
- PHP各种异常和错误的拦截方法及发生致命错误时进行报警
- 记录一次诡异 spring-data-redis 异常