you can use gawk (not awk ) to convert the date in the string "tagger" to something human readable:
git rev-parse v4.4-rc1 | xargs git cat-file -p | gawk '/^tagger/ { print strftime(PROCINFO["strftime"], $(NF-1)) }'
if you don't like gawk then date can be used to convert unix time:
git rev-parse v2.76 | xargs git cat-file -p | awk '/^tagger/ { print "@" $(NF-1) }' | xargs date -d
and example ( dnsmasq git repo):
$ git rev-parse v2.76 | xargs git cat-file -p | awk '/^tagger/ { print "@" $(NF-1) }' | xargs date -d Wed May 18 16:52:12 CEST 2016
vladis Dec 03 '15 at 12:56 2015-12-03 12:56
source share