[Bug] Dangerous git checkout command wipes user files without confirmation

Status Open
Reported on v2.1.274
Maintainer reply None cached
Activity 0 comments · opened Sep 17, 2026

Bug Description
Bug report drafted: Ran git checkout <branch> -- . with a dirty tree and wiped the user's u… │
│ │ - What happened: While moving a UI prototype onto a throwaway branch, the model ran git branch X, git stash push -- <file>, then git checkout X -- .. …

Environment Info

  • Platform: linux
  • Terminal: tmux
  • Version: 2.1.274
  • Feedback ID: bfe5732f-ec5e-4f9d-be06-b5531f70c978

Errors

[]

View original on GitHub ↗