Skip to content

Instantly share code, notes, and snippets.

@dvdvck
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dvdvck/9656255 to your computer and use it in GitHub Desktop.
Save dvdvck/9656255 to your computer and use it in GitHub Desktop.
git log vs git reflog

Why does git have such particular trick in his command line?

Today, by typing these two commands:

git log --oneline --walk-reflogs

and

git reflog

have the same output.

Internally, which one is the egg and chicken?

o_O

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment