1、提交改变:
commit -a -m “comment”
2、提交新版本:
git push origin master
3、看过去的提交历史:
git log
4、看过去的提交历史并看到哈希值:
git reflog
5、恢复到过去的某个版本:
git reset – hard 你想要的版本的哈希值
6、从仓库中获取新版本:
git pull origin master
7、MArkdown的语法:
8、使用github创建远程仓库:
9、使用SSH链接本地和github以及建立远程仓库的方法:http://www.runoob.com/git/git-remote-repo.html
PS: