Andrew Ferrier Andrew Ferrier - 1 year ago 154
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 Source

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


git reflog --date=iso
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download