git log --pretty=oneline 然后会出现不同版本,用于回退使用,最开始前面一长串的就是版本ID
git reset --hard 版本id 恢复到历史版本
git push -f -u origin master 将修改推到远程服务器
git pull