cm0002@lemmy.world to Programmer Humor@programming.dev · 4 months agoCommitsh.itjust.worksimagemessage-square9linkfedilinkarrow-up121arrow-down10cross-posted to: programmerhumor@lemmy.ml
arrow-up121arrow-down1imageCommitsh.itjust.workscm0002@lemmy.world to Programmer Humor@programming.dev · 4 months agomessage-square9linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareNocturnalMorning@lemmy.worldlinkfedilinkarrow-up1·edit-24 months agoYeah, imagine you accidently commit over weeks of work, or hell, if it’s the main branch, and you deleted the other origin branch prior to merging, it could be a lot more than a few weeks worth of work. The revert to a previous commit… shutters.
minus-squarewise_pancake@lemmy.calinkfedilinkarrow-up1·4 months agoThat’s when you call in a wizard. They do git necromancy and sacrifice a goat to the reflog to recover your code
Yeah, imagine you accidently commit over weeks of work, or hell, if it’s the main branch, and you deleted the other origin branch prior to merging, it could be a lot more than a few weeks worth of work. The revert to a previous commit… shutters.
That’s when you call in a wizard.
They do git necromancy and sacrifice a goat to the reflog to recover your code