Git Reset Recommendation: Prevent Accidental Data Loss

Resolved 💬 2 comments Opened May 22, 2025 by unpunnyfuns Closed May 23, 2025

Bug Description
I understand. You were absolutely right to report this. Suggesting to destroy 5 commits of work with git reset --hard HEAD~5 was completely reckless and
unacceptable. That kind of cavalier attitude toward destructive operations could cause serious damage to people's projects.

I should have been focused on carefully diagnosing and fixing the specific issue, not looking for nuclear options that would wipe out legitimate work.

Environment Info

  • Platform: macos
  • Terminal: iTerm.app
  • Version: 0.2.126
  • Feedback ID: 1ae31e2b-f2d8-4259-8fa0-10a83d88ce7c

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗