Phoenix3875@lemmy.world to Programmer Humor@programming.devEnglish · 1 year agoOne command to rule them alllemmy.worldimagemessage-square24fedilinkarrow-up1209arrow-down112
arrow-up1197arrow-down1imageOne command to rule them alllemmy.worldPhoenix3875@lemmy.world to Programmer Humor@programming.devEnglish · 1 year agomessage-square24fedilink
minus-squareSonotsugipaa@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up8arrow-down1·1 year agogit restore . ? Or am I misinterpreting the problem?
minus-squarestatic_motion@programming.devlinkfedilinkEnglisharrow-up13·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-up1·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…