• katy ✨
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

    commits are immutable snapshots

    git interactive rebase enters, stage right

    • aspirate2959@sh.itjust.works
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      Which makes a new commit. The old commit before the rebase is still there until it’s garbage collected. Editing a commit in any way changes its hash, turning it into a new commit.