trans wrote:
> Anyone know how to ask git for the commit date given tag?
Do you mean commit date or author date?
The best I can come up with is
# git show --format=format:%aD $TAG^{commit} | head -n1
Which isn't exactly pretty.
For commit date, replace 'a' with 'c' in the format string. For other
date formats, try 'i' (ISO8601) instead of 'D' (RfC2822)
git help show is your friend.
jwm
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"GitHub" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/github?hl=en
-~----------~----~----~----~------~----~------~--~---