If other code was mistakenly submitted to the master branch, how to roll back the master branch online to its previous code?
为情所困2017-05-17 10:04:51
Revert to the previous version first:
git reset --hard HEAD^
Then force push the current version to the cloud:
git push origin HEAD --force