1. Roll back the local warehouse version
git reset --hard <需要回退到的版本号(可输入前7位,也可以输入完整的版本号)>
Click the icon in the red box to copy the complete version number
Here select the third submission for rollback
2. Force push to remote warehouse
git push origin <分支名> --force
3. View the remote warehouse
The rollback is successful, and the history commit record is gone