Quantcast
Viewing all articles
Browse latest Browse all 22

How to find out when to a git repository was last committed?

git log -n 1 --all --full-history --pretty=format:'%cD'

This should™ scan all branches, take the chronologically last commit and output its committer date. Still doesn’t take into account git-receive-pack times, but we can just look at the mtime of the projectname-commits@lists.forgename mailing list for that.


Viewing all articles
Browse latest Browse all 22

Trending Articles