git命令备忘录

分支创建与删除

git clean -dxf
ls
git branch archives20161117
git branch -a
git checkout archives20161117
git push --set-upstream origin archives20161117
git checkout master
git rm -rf *
git push origin master
git checkout archives20161117
ls
git checkout master
ls
history 50
posted @ 2016-11-17 23:45  bregman  阅读(42)  评论(0编辑  收藏  举报