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