美文网首页
hexo + git 创建自己的 bolg

hexo + git 创建自己的 bolg

作者: AlexLi_ | 来源:发表于2017-02-24 16:43 被阅读27次

http://www.jianshu.com/p/a52b68794a6b

注意:3.2基础配置

需要注意一点, 在每个配置的 : 后面都要留一个空格

nvm 命令失效:http://blog.csdn.net/cengjingcanghai123/article/details/51995673

上面这个操作,有用. 但是 在关闭终端后, 重新打开终端 会发现又要一次这个操作

解决办法: 就需要在~/.zshrc这个配置文件中配置,否则就找找看~/.bash_profile或者~/.profile吧。

1.https://segmentfault.com/a/1190000004404505

MAC 打开.bash_profile
1. 启动终端Terminal

2. 进入当前用户的home目录
    输入cd ~
3. 创建.bash_profile
    输入touch .bash_profile
4. 编辑.bash_profile文件
    输入open -e .bash_profile
5. 保存文件,关闭.bash_profile
6. 更新刚配置的环境变量
    输入source .bash_profile

访问失败 404

原因:仓库的名字 仓库名必须为 . http://your_user_name.github.io

        你的用户名.github.io

解决办法: 重建仓库

相关文章

网友评论

      本文标题:hexo + git 创建自己的 bolg

      本文链接:https://www.haomeiwen.com/subject/houjwttx.html