cm0002@lemmy.world to Programmer Humor@programming.dev · 16 days agoCommitsh.itjust.worksimagemessage-square8fedilinkarrow-up112arrow-down10
arrow-up112arrow-down1imageCommitsh.itjust.workscm0002@lemmy.world to Programmer Humor@programming.dev · 16 days agomessage-square8fedilink
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖@lemm.eelinkfedilinkEnglisharrow-up1·16 days agoThat’s not a mistake git can do that to people. Especially those who have never used git via command line.
minus-squareNocturnalMorning@lemmy.worldlinkfedilinkarrow-up1·edit-216 days 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·16 days agoThat’s when you call in a wizard. They do git necromancy and sacrifice a goat to the reflog to recover your code
That’s not a mistake git can do that to people. Especially those who have never used git via command line.
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