‘git reset’ won’t. ‘git clean’, on the other hand, most certainly does. Even then you have to --force it by default, to prevent an accidental clean.
- 0 Posts
- 4 Comments
Joined 2 years ago
Cake day: October 30th, 2023
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
Even reset hard wouldn’t delete untracked files. This was a complete overreach by the GUI, performing a
clean
(and likely a forced one, as git’s requireForce defaults to true).And they did rectify that eventually, giving a warning, and an option to simply reset. It’s unfortunate this poor person had to be the trigger for that change.
I remember following the drama back in the day. That warning you saw was the result of this now-classic bug report.
Agreed. But doesn’t make “JavaScript bad” any less true…