Skip to content

Instantly share code, notes, and snippets.

@ErMandeep
Created August 15, 2021 17:13
Show Gist options
  • Save ErMandeep/8c703632a35cb8fe86efa6554202089e to your computer and use it in GitHub Desktop.
Save ErMandeep/8c703632a35cb8fe86efa6554202089e to your computer and use it in GitHub Desktop.
git revert command ( how to remove specific commit from github )
git revert <bad commit id>
eg =>
git revert 6cb98ee5548e7c4203aa32d93f82aed4a46978aa
@ErMandeep
Copy link
Author

example

git revert 6cb98ee5548e7c4203aa32d93f82aed4a46978aa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment