I hear people praise git reflog a lot, but when do y’all use this? Most I’ve ever needed is git log--graph for history checking. Maybe if I was in a situation where I knew the code on local branch X was working on Friday, but not anymore on Monday, then I could use git reflog to go back to Friday for that local branch right? Is that the idea?
I hear people praise
git reflog
a lot, but when do y’all use this? Most I’ve ever needed isgit log --graph
for history checking. Maybe if I was in a situation where I knew the code on local branch X was working on Friday, but not anymore on Monday, then I could usegit reflog
to go back to Friday for that local branch right? Is that the idea?