git stash 暂存
git stash pop 释放暂存,删掉stash
git stash pop 释放暂存,不会删掉stash
回退
git log #复制版本号
git reset hard -- xxx #版本号
更新远程分支
git remote update origin --prune
切换源
git remote set-url origin git@xxxx.git
分支操作
新建本地分支基于远程master
git checkout -b feature-venue-20190429 origin/master
>>>
Branch 'feature-venue-20190429' set up to track remote branch 'master' from 'origin'.
Switched to a new branch 'feature-venue-20190429'