Pages

Thursday, April 12, 2018

Find the date when a file was added in GIT Repository

Find the date when a file was added in GIT Repository

To find the date / time when a particular file was added in the GIT repository, use the following command.

git log --format=%aD <FILE> | tail -1

Reference:

https://stackoverflow.com/questions/2390199/finding-the-date-time-a-file-was-first-added-to-a-git-repository

No comments:

Post a Comment