Maven (famous)@lemmy.world to Programmer Humor@programming.dev · 6 months agoGOD DAMMIT STEVEN! NOT AGAIN!lemmy.worldimagemessage-square72fedilinkarrow-up1699arrow-down119
arrow-up1680arrow-down1imageGOD DAMMIT STEVEN! NOT AGAIN!lemmy.worldMaven (famous)@lemmy.world to Programmer Humor@programming.dev · 6 months agomessage-square72fedilink
minus-squareBackfire@lemmy.worldlinkfedilinkarrow-up130·6 months agoYou’d have to rewrite the history as to never having committed those files in the first place, yes. And then politely ask all your coworkers to reset their working environments to the “new” head of the branch, same as the old head but not quite. Chaos ensues. Sirens in the distance wailing.
minus-squarePotatos_are_not_friends@lemmy.worldlinkfedilinkarrow-up35·6 months agoRewrite history? Difficult. Start a new project and nuke the old one? Finger guns.
minus-squareKlear@lemmy.worldlinkfedilinkarrow-up24·6 months agoHistory is written by the victors. The rest of us have to nuke the project and start over.
minus-squareDultas@lemmy.worldlinkfedilinkarrow-up21·6 months agoIf this was committed to a branch would doing a squash merge into another branch and then nuking the old one not do the trick?
You’d have to rewrite the history as to never having committed those files in the first place, yes.
And then politely ask all your coworkers to reset their working environments to the “new” head of the branch, same as the old head but not quite.
Chaos ensues. Sirens in the distance wailing.
Rewrite history? Difficult.
Start a new project and nuke the old one? Finger guns.
History is written by the victors. The rest of us have to nuke the project and start over.
If this was committed to a branch would doing a squash merge into another branch and then nuking the old one not do the trick?
Yes, that would do the trick