cm0002@lemmy.world to Programmer Humor@programming.dev · 1 year agoCommitsh.itjust.worksimagemessage-square21linkfedilinkarrow-up1537cross-posted to: programmerhumor@lemmy.ml
arrow-up1537imageCommitsh.itjust.workscm0002@lemmy.world to Programmer Humor@programming.dev · 1 year agomessage-square21linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕠𝕕𝕚𝕝𝕖@lemm.eelinkfedilinkEnglisharrow-up41·1 year 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-up13·edit-21 year 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-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕠𝕕𝕚𝕝𝕖@lemm.eelinkfedilinkEnglisharrow-up7·1 year agoIts even scarier when master branch is prod
minus-squareNocturnalMorning@lemmy.worldlinkfedilinkarrow-up5·edit-21 year agoDon’t tell me ghost stories right now, it’s almost my bedtime.
minus-squarewise_pancake@lemmy.calinkfedilinkarrow-up5·1 year agoThat’s when you call in a wizard. They do git necromancy and sacrifice a goat to the reflog to recover your code
minus-squareverstra@programming.devlinkfedilinkarrow-up2·1 year agoAh, yes, the reflog incantation. It is said that it can be performed only by those who have rebased on an hard reset origin.
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.
Its even scarier when master branch is prod
Don’t tell me ghost stories right now, it’s almost my bedtime.
That’s when you call in a wizard.
They do git necromancy and sacrifice a goat to the reflog to recover your code
Ah, yes, the reflog incantation. It is said that it can be performed only by those who have rebased on an hard reset origin.