git 博客搭建

    博

客搭建
  1. 本地初始化仓库: git init
  2. 添加项目
  3. 提交暂存区: git add
  4. 提交本地仓库: git commit -m"xxx"
  5. 创建分支: git branch gh-pages
  6. 切换分支: git checkout gh-pages
  7. 提交到服务器: git push [服务器地址] [分支]
  8. 浏览网页: windy330.github.io/[仓库的名字]/[具体的页面]

   

  

 

 

posted @ 2018-01-12 15:38  九间房  阅读(166)  评论(0编辑  收藏  举报