• TOC
    {:toc}

一、参考教程

本博客参考教程:在 Github上建立自己的个人博客网站详细教程

其他教程:使用Github Pages搭建博客 - 前端修炼之路 - SegmentFault 思否

二、使用指令

1
2
3
4
5
6
7
8
git add .

git commit -m “This is the message describing the commit” #添加commit信息

git remote add origin git@github.com:MarcusKun/io.git #你的远程仓库地
#注:在创建好Github仓库后有两个地址,一个是https的地址,另一个是SSH地址,也就是上面这个地址.

git push -u origin master #(执行这个之前必须先在本地做一次提交操作)