Reputation: 355
So I have been trying to use the --format option in the for-each-ref command, and when I run this command:
git for-each-ref --format='%(author)'
I get this output:
Pat McGroin <[email protected]> 1529175479 -0600
What are those numbers at the end? What do they represent?
Upvotes: 1
Views: 42
Reputation: 521178
The number immediately after the author email appears to be a UNIX timestamp:
1529175479 -0600
^^ UNIX timestamp
The value 1529175479
value corresponds to the date 02/21/2018 @ 2:02am (UTC)
. You may convince yourself of this by converting the number online: https://www.unixtimestamp.com/index.php
Upvotes: 3