Andrew Ferrier Andrew Ferrier - 3 months ago 60
Git Question

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...

Answer

As the man page writes you can use the options for git log, say git reflog --pretty=short or any other as you like

try

git reflog --date=iso
Comments