Search code examples
gitgit-reflogreflog

Is there a way to cause git-reflog to show a date alongside each entry?


The git-reflog command doesn't by default show a date alongside each entry, which strikes me as a strange oversight; I think this would be very helpful.

Are there any command-line options, or other tweaks, which can be employed to cause it to show when each reflog entry was added? The manpage isn't forthcoming...


Solution

  • Per the man page, you can use git log options, e.g.,

    git reflog --pretty=short
    
    git reflog --date=iso