Maven (famous)@lemmy.world to Programmer Humor@programming.dev · 2 个月前GOD DAMMIT STEVEN! NOT AGAIN!lemmy.worldimagemessage-square3fedilinkarrow-up13arrow-down10
arrow-up13arrow-down1imageGOD DAMMIT STEVEN! NOT AGAIN!lemmy.worldMaven (famous)@lemmy.world to Programmer Humor@programming.dev · 2 个月前message-square3fedilink
minus-squarexlash123@sh.itjust.workslinkfedilinkarrow-up1·2 个月前Correct me if I’m wrong, but it’s not enough to delete the files in the commit, unless you’re ok with Git tracking the large amount of data that was previously committed. Your git clones will be long, my friend
minus-squareBackfire@lemmy.worldlinkfedilinkarrow-up1·2 个月前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.
Correct me if I’m wrong, but it’s not enough to delete the files in the commit, unless you’re ok with Git tracking the large amount of data that was previously committed. Your git clones will be long, my friend
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.