Maven (famous)@lemmy.zip to Programmer Humor@programming.dev · edit-214 hours agoMicrosoft Please Fixlemmy.zipimagemessage-square206fedilinkarrow-up1617arrow-down117file-text
arrow-up1600arrow-down1imageMicrosoft Please Fixlemmy.zipMaven (famous)@lemmy.zip to Programmer Humor@programming.dev · edit-214 hours agomessage-square206fedilinkfile-text
minus-squareKorne127@lemmy.worldlinkfedilinkarrow-up37·7 hours 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-squareValmond@lemmy.worldlinkfedilinkarrow-up2·3 hours agoJust curious, git doesn’t touch untracked files though?
minus-squareGreenAppleTree@lemmy.worldlinkfedilinkarrow-up1·1 hour 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-squareByteOnBikes@slrpnk.netlinkfedilinkarrow-up11arrow-down1·5 hours agoThis person is why we have that meme where devs would rather struggle for a week than spend a few hours reading the documentation.
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.
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.
This person is why we have that meme where devs would rather struggle for a week than spend a few hours reading the documentation.