|
|
|
|
|
by seba_dos1
1210 days ago
|
|
HEAD is a ref just like any other. What you're looking at after typing `git reflog` is the history of things HEAD has pointed to - it's HEAD's log. Refs don't necessarily have to point to commits, they can point to other objects too. HEAD@{<N>} is not a ref - it's a rev in <ref>@{<N>} form that means "N positions back in ref's history" (see `man gitrevisions` for more rev forms). > never by ref When you look at reflog's output, you've already dereferenced these commits by the given ref and its history. Try `git reflog <branchname>`. |
|