git本地stash
git stash git stash pop git stash list git stash apply stash@{0}
git删除本地commit
#删除本地提交记录的最后一条或最后N条记录 git reset --hard HEAD~1 #查看删除记录: git reflog #恢复: git reset --hard id