先显示提交的记录:
git log
commit e499aac9257354c54ac2e1ff6a393ac7c8d2f342
Author: xx <xxx@xx.com>
......
回到指定版本:
git reset --hard e499aac9257354c54ac2e1ff6a393ac7c8d2f342
强制提交分支master
:
git push -f origin master
2024-03-17 10:47:22
先显示提交的记录:
git log
commit e499aac9257354c54ac2e1ff6a393ac7c8d2f342
Author: xx <xxx@xx.com>
......
回到指定版本:
git reset --hard e499aac9257354c54ac2e1ff6a393ac7c8d2f342
强制提交分支master
:
git push -f origin master