@[email protected] to Programmer [email protected] • 2 months agoCommitsh.itjust.worksimagemessage-square21fedilinkarrow-up1535arrow-down16cross-posted to: [email protected]
arrow-up1529arrow-down1imageCommitsh.itjust.works@[email protected] to Programmer [email protected] • 2 months agomessage-square21fedilinkcross-posted to: [email protected]
minus-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖linkfedilinkEnglish39•2 months agoThat’s not a mistake git can do that to people. Especially those who have never used git via command line.
minus-square@[email protected]linkfedilink12•edit-22 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-square🇦🇺𝕄𝕦𝕟𝕥𝕖𝕕𝕔𝕣𝕠𝕔𝕕𝕚𝕝𝕖linkfedilinkEnglish7•2 months agoIts even scarier when master branch is prod
minus-square@[email protected]linkfedilink5•edit-22 months agoDon’t tell me ghost stories right now, it’s almost my bedtime.
minus-square@[email protected]linkfedilink5•2 months agoThat’s when you call in a wizard. They do git necromancy and sacrifice a goat to the reflog to recover your code
minus-square@[email protected]linkfedilink2•2 months 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.