If other code was mistakenly submitted to the master branch, how to roll back the master branch online to its previous code?
学习是最好的投资!
Revert to the previous version first: git reset --hard HEAD^
Then force push the current version to the cloud: git push origin HEAD --force
Revert to the previous version first:
git reset --hard HEAD^
Then force push the current version to the cloud:
git push origin HEAD --force