Phoenix3875@lemmy.world to Programmer Humor@programming.devEnglish · 11 months agoOne command to rule them alllemmy.worldimagemessage-square21fedilinkarrow-up1243arrow-down112
arrow-up1231arrow-down1imageOne command to rule them alllemmy.worldPhoenix3875@lemmy.world to Programmer Humor@programming.devEnglish · 11 months agomessage-square21fedilink
minus-squareSonotsugipaa@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up12arrow-down1·11 months agogit restore . ? Or am I misinterpreting the problem?
minus-squarestatic_motion@programming.devlinkfedilinkEnglisharrow-up18·11 months 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·11 months 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…