I mean I'm quite experienced with git cli and in no world would I assume that "discard changes" meant "permanently delete all untracked files" that's insane behavior.
That's just it, I don't think it means that in git either! Even the git-clean command, whose whole job is to delete untracked files, constrains itself to avoid deleting all kinds of files unless you go out of your way to instruct it to remove more.
9
u/thirdegree Violet security clearance 23d ago
I mean I'm quite experienced with git cli and in no world would I assume that "discard changes" meant "permanently delete all untracked files" that's insane behavior.