• robinm@programming.dev
    ·
    5 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
      ·
      5 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