lemmyreader@lemmy.ml to Linux@lemmy.mlEnglish · edit-27 个月前a git cheat sheet - Julia Evanscdn.masto.hostimagemessage-square39fedilinkarrow-up1503arrow-down110file-textcross-posted to: opensource@lemmy.ml
arrow-up1493arrow-down1imagea git cheat sheet - Julia Evanscdn.masto.hostlemmyreader@lemmy.ml to Linux@lemmy.mlEnglish · edit-27 个月前message-square39fedilinkfile-textcross-posted to: opensource@lemmy.ml
minus-squareNegativeLookBehind@lemmy.worldlinkfedilinkarrow-up15arrow-down1·7 个月前Gits motto should be “fuck around and find out”
minus-squarevery_well_lost@lemmy.worldlinkfedilinkEnglisharrow-up11arrow-down1·7 个月前More like “don’t fuck around but find out anyway”.
minus-squareNegativeLookBehind@lemmy.worldlinkfedilinkEnglisharrow-up15·7 个月前“Fuck around, have no idea HOW you fucked around, fuck around some more trying to fix it, find out how badly you’ve collectively fucked around”
minus-squarelars@lemmy.sdf.orglinkfedilinkarrow-up1·7 个月前More like “don’t fuck around (but of course the answer is some subset of git checkout (which is probably Turing-fucking-complete)), and find out anyway”.
Gits motto should be “fuck around and find out”
More like “don’t fuck around but find out anyway”.
“Fuck around, have no idea HOW you fucked around, fuck around some more trying to fix it, find out how badly you’ve collectively fucked around”
That’s what the reflog is for!
More like “don’t fuck around (but of course the answer is some subset of
git checkout
(which is probably Turing-fucking-complete)), and find out anyway”.