Maven (famous) to Programmer [email protected] • edit-25 months agoMicrosoft Please Fixlemmy.zipimagemessage-square344fedilinkarrow-up1891
arrow-up1891imageMicrosoft Please Fixlemmy.zipMaven (famous) to Programmer [email protected] • edit-25 months agomessage-square344fedilink
minus-square@[email protected]linkfedilink40•5 months agoThe person didn’t have any git repository; probably a new programmer that didn’t know how version control works and just clicked discard without understanding what that means in this situation.
minus-square@[email protected]linkfedilink13•5 months agoThis person is why we have that meme where devs would rather struggle for a week than spend a few hours reading the documentation.
minus-square@[email protected]linkfedilink3•5 months agoJust curious, git doesn’t touch untracked files though?
minus-square@[email protected]linkfedilink5•5 months ago‘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.
minus-square@[email protected]linkfedilink3•5 months agogit clean does. Turns out VSCode did a clean with that GUI option at that time, not sure of current behaviour.
The person didn’t have any git repository; probably a new programmer that didn’t know how version control works and just clicked discard without understanding what that means in this situation.
This person is why we have that meme where devs would rather struggle for a week than spend a few hours reading the documentation.
Just curious, git doesn’t touch untracked files though?
‘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.
Thanks, didn’t know!
git clean
does. Turns out VSCode did a clean with that GUI option at that time, not sure of current behaviour.