git 回退到远程某个分支
2019-01-07 本文已影响0人
azu_test
1、查看提交记录
git log
2、根据提交记录回退版本
git reset -- hard 提交记录号
3、将回退版本提交到服务器
git push -f (括号内为替换方案:git push origin HEAD --force)
git log
git reset -- hard 提交记录号
git push -f (括号内为替换方案:git push origin HEAD --force)