You must log in or register to comment.
why do I care about orphans? fuck them orphans. I’m the one who made them orphans anyways
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.Who hasn’t frantically scrolled back in their terminal to find an orphan id.
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