1、本地回退
git reset --hard commit_id
2、下载branch code
git clone -b branch_name URL
3、查看已经暂存起来的变化
git diff --cached
4、stash当前修改
git stash
5、重新应用缓存的stash
git stash pop
git stash:https://www.cnblogs.com/tocy/p/git-stash-reference.html
git reset --hard commit_id
git clone -b branch_name URL
git diff --cached
git stash
git stash pop
git stash:https://www.cnblogs.com/tocy/p/git-stash-reference.html