git 撤销已经提交到远程服务器的commit

git log

git stash #保留现场
git reset --hard commitId

git push origin HEAD --force

git stash pop #恢复现场