Maven (famous) to Programmer [email protected] • edit-21 month agoMicrosoft Please Fixlemmy.zipimagemessage-square340fedilinkarrow-up1895arrow-down122file-text
arrow-up1873arrow-down1imageMicrosoft Please Fixlemmy.zipMaven (famous) to Programmer [email protected] • edit-21 month agomessage-square340fedilinkfile-text
minus-square@Korne127link40•1 month 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]linkfedilink12•1 month 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@GreenAppleTreelink5•1 month 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@fumlink3•1 month 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.