GOOD DAY

天天向上<< High一下!

Github命令

30 Oct 2014 - NanJing


此处输入图片的描述

$ git remote add <主机名> <网址>
$ git clone <版本库的网址> <本地目录名>
$ git branch -a(查看分支) -d(删除)
$ git checkout -b newBrach(origin/master)
$ git push origin --delete master
$ git push origin gh-pahes
$ git checkout --orphan gh-pages
$ git add .
$ git commit -m "post1"
$ git reset 版本号