git reflog
git checkout origin/master
git checkout origin/mastergit reflog # take the SHA of the last commit of yoursgit reset [SHA]
git statusHEAD detached from origin/master
git push origin HEAD:master --force
git reflog
git checkout origin/master
git checkout origin/mastergit reflog # take the SHA of the last commit of yoursgit reset [SHA]
git statusHEAD detached from origin/master
git push origin HEAD:master --force