Phoenix3875@lemmy.world to Programmer Humor@programming.devEnglish · 2 years agoOne command to rule them alllemmy.worldimagemessage-square25fedilinkarrow-up1242arrow-down112
arrow-up1230arrow-down1imageOne command to rule them alllemmy.worldPhoenix3875@lemmy.world to Programmer Humor@programming.devEnglish · 2 years agomessage-square25fedilink
minus-squareSonotsugipaa@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up12arrow-down1·2 years agogit restore . ? Or am I misinterpreting the problem?
minus-squarestatic_motion@programming.devlinkfedilinkEnglisharrow-up18·2 years agogit restore is a pretty new command AFAIK. Those of us who learned git before its existence have probably stuck to the old ways of git reset --hard.
minus-squareTheSealStartedIt@feddit.delinkfedilinkarrow-up3·2 years agoYep, I just learned of this command…
git restore .
?Or am I misinterpreting the problem?
git restore
is a pretty new command AFAIK. Those of us who learned git before its existence have probably stuck to the old ways ofgit reset --hard
.Yep, I just learned of this command…