How To Delete Commit in GitHub
Looking for {COMMIT_ID} before wrong commits, it’s will be like c6714d92f..
$ git reset --hard {COMMIT_ID} $ git push --force
All commits after {COMMIT_ID} will be deleted.
Looking for {COMMIT_ID} before wrong commits, it’s will be like c6714d92f..
$ git reset --hard {COMMIT_ID} $ git push --force
All commits after {COMMIT_ID} will be deleted.