Skip to content

Instantly share code, notes, and snippets.

@nara-l
Last active August 25, 2023 14:12
Show Gist options
  • Save nara-l/ae8dc9fca113f13c9a181f9a6d0ec90d to your computer and use it in GitHub Desktop.
Save nara-l/ae8dc9fca113f13c9a181f9a6d0ec90d to your computer and use it in GitHub Desktop.
Reset Merge
git reset --hard HEAD~1
This would delete last commit https://stackoverflow.com/a/1338744
#
git reset --merge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment