git log -3 查看3条记录
git log origin/master 查看远程记录
git reset 回滚到指定版本
git push -f origin master 强制提交
git branch 产看分支 带*号的为默认
git branch test 创建新分支
git checkout test 切换分支
git branch -d test 删除分支
git status 可以查看冲突
git commit -m " xx"
git stash 暂时不commit
git stash pop
网友评论