79126961

Date: 2024-10-25 18:44:19
Score: 1
Natty:
Report link

Use the command

git reset --hard HEAD~1

Careful though, this will delete the commit, so you'll lose those changes.

The argument HEAD~1 acutally shifts your HEAD reference back to the previous commit. So the latest commit will be gone.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: hitesh