Git / Having fun: how to find the date of the first commit

Use the following command in order to find the date of the first commit ever pushed to your git repository:
git log --pretty=format:'%ad' | tail -1

Example:
git log --pretty=format:'%ad' | tail -1 
Fri Aug 21 16:44:55 2015 +0300

No comments:

Post a Comment