• Match!!@pawb.social
    link
    fedilink
    English
    arrow-up
    9
    ·
    10 months ago

    why do I care about orphans? fuck them orphans. I’m the one who made them orphans anyways

  • robinm@programming.dev
    link
    fedilink
    arrow-up
    5
    ·
    10 months ago

    That’s a really good explanation. I would just add that I find easier to search for orphans with git log --graph --reflog than using `git reflog directly, especially if it’s one of the top entries in the reflog.

    • zygo_histo_morpheus@programming.dev
      link
      fedilink
      arrow-up
      3
      ·
      10 months ago

      You should check out git reflog if you don’t know about it already. It allows you to view the history of commit changes which is very handy if you want to undo an --amend or rebase for example