0
I need to reverse a specific commit that is remote. How do I do this?
0
I need to reverse a specific commit that is remote. How do I do this?
0
First check that git push --force is active in your repository.
Find the commit hash by following these steps:
Access the Repository
Take the Commit
Copy the HASH and replace in the command below
Then run the following commands:
git reset --hard HASH_DO_COMMIT_QUE_QUER_VOLTAR
git push --force
git reset will return to your pro hash branch you passed.
git push --force will push this hash, overwriting the current one in git.
Browser other questions tagged git commit
You are not signed in. Login or sign up in order to post.