Created
October 9, 2016 22:22
-
-
Save csu/d6b4148930126745b7491acb54b936d7 to your computer and use it in GitHub Desktop.
Gets the date of the first commit in a git repo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git log $(git log --reverse --pretty=format:%H|head -1) --date=short --pretty='format:%cd' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment