恢复指定版本: 查看所有版本号,从上到下为从新到旧:git log --pretty=oneline 查看某版本修改的内容: git show codeVersion 恢复到某版本: git reset --hard codeVersion