1、下载、安装git(https://git-scm.com/downloads)
2、创建本地库
3、右击、选中git bash here
3.创建工作区
git stutas 查看状态 有无提交文件
git add 提交到暂存区
git commit -m "-----------" 提交注释 提交到创库
git rm 文件名
git log 查看日志
git checkout 《id》 《文件名》 恢复到之前
git push 推
git pull 拉
git remote add origin https://github.com/huangfenfen/test01.git
git push -u origin master