Yeah learned this the hard way.

  • Michal@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    1 day ago

    Even if you rebase you can still recover the original commits until they are garbage collected. You are generally safe as long as the .git directory isn’t deleted, in which case your whole history is gone anyway.