hexo
乔小乔jojo
https://jasmine-na.github.io/
展开
-
问题1:有关使用 Hexo 和 GitHub 搭建博客,出现 hexo -d 报错如何解决?(windows下)
INFO Deploying: gitINFO Clearing .deploy_git folder...INFO Copying files from public folder...warning: LF will be replaced by CRLF in 2016/10/26/hello-world/index.html.The file will have its ori翻译 2016-10-26 17:39:08 · 1744 阅读 · 0 评论 -
ssh是否连接成功
ssh -T [email protected]输出 You’ve successfully authenticated 表示添加key 成功,原创 2016-10-27 00:27:31 · 3055 阅读 · 0 评论 -
hexo+github(windows版+http版),搭建Hexo博客并部署到Github
工具/原料 • Windows(Mac也是差不多,可参照) • Git • Node.js安装Hexo1、利用 npm 命令即可安装。在任意位置点击鼠标右键,选择Git Bash。2、输入命令: npm install -g hexo 注意:-g是指全局安装hexo。创建Hexo文件夹1、新建文件夹 Hexo 2、 cd Hexo hexo init原创 2016-10-27 09:42:09 · 626 阅读 · 0 评论 -
hexo+github(windows版+ssh版),搭建Hexo博客并部署到Github
ssh优点:http部署时每次要输入github用户名密码,ssh不需要。 首先走完http版:http://blog.csdn.net/weixin_36401046/article/details/52942683设置SSH keys1、在Git Bash输入以下指令(任意位置点击鼠标右键),检查是否已经存在了SSH keys。 ls -al ~/.ssh2、如果不存在就没有关系,如果存在的翻译 2016-10-26 18:41:21 · 864 阅读 · 0 评论 -
mac下git需忽略的文件处理办法(mac)
在.git同级目录下新建.gitignore文件,将要忽略的文件写进去即可。忽略前后:原创 2016-10-27 01:31:03 · 4040 阅读 · 0 评论 -
如何创建.gitignore文件,忽略git不必要提交的文件
1、在需要创建 .gitignore 文件的文件夹, 右键选择Git Bash 进入命令行,进入项目所在目录。2、输入 touch .gitignore ,生成“.gitignore”文件。3、在”.gitignore” 文件里输入你要忽略的文件夹及其文件就可以了。(注意格式)我的文件: .gitignore.deploy_git/node_modules/public/翻译 2016-10-28 11:01:01 · 64606 阅读 · 0 评论 -
hexo d后 ERROR Deployer not found: git
$ hexo d ERROR Deployer not found: git npm install hexo-deployer-git --save 即可。原创 2016-10-27 00:22:37 · 68794 阅读 · 57 评论