1. 注册github账号
2. 创建工程
3. 进入设置页面
4. 点击生成主题
5. 安装git
自行安装
6. 选择一个目录作为项目存放目录,在目录中
右键 Git Bash Here
打开命令窗口
开始执行
1. $ git init
2. 复制项目到本地
$ git clone https://github.com/Dabxiaofei/Dabxiaofei.github.io
<!!!!!!!!!!!!! cd 到复制目录下 !!!!!!!!!!!!!>
3.
$ git config --global user.name "cnfeat"//用户名
$ git config --global user.email "[email protected]"//填写自己的邮箱
4. 开始上传
$ git add *
$ git commit -m "first commit"
5. 上传到github
6. git push origin master