Maven (famous)@lemmy.zip to Programmer Humor@programming.dev · edit-22 days agoMicrosoft Please Fixlemmy.zipimagemessage-square300fedilinkarrow-up1805arrow-down121file-text
arrow-up1784arrow-down1imageMicrosoft Please Fixlemmy.zipMaven (famous)@lemmy.zip to Programmer Humor@programming.dev · edit-22 days agomessage-square300fedilinkfile-text
minus-squareValmond@lemmy.worldlinkfedilinkarrow-up4·2 days agoJust curious, git doesn’t touch untracked files though?
minus-squareGreenAppleTree@lemmy.worldlinkfedilinkarrow-up5·2 days 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-squarefum@lemmy.worldlinkfedilinkarrow-up3·2 days agogit clean does. Turns out VSCode did a clean with that GUI option at that time, not sure of current behaviour.
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.