• @Backfire
    link
    1269 months ago

    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.

    • @Potatos_are_not_friends
      link
      329 months ago

      Rewrite history? Difficult.

      Start a new project and nuke the old one? Finger guns.

      • @Klear
        link
        239 months ago

        History is written by the victors. The rest of us have to nuke the project and start over.

    • @Dultas
      link
      199 months ago

      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?

      • @Backfire
        link
        139 months ago

        Yes, that would do the trick