We have server, which is used for creating all project by git. There are several project say project1.git ,project2.git and prohectx.git How may i know who has created project1.git and statistics of project?
However, you can also use git log to look for specific commits.
git log --stat show different stat of changes introduced at each commit
for more details you can refer Git Reference
Creation of the project is the first commit, and it has author and date attached to it. To display use:
$ cd project1.git
$ git log --reverse --pretty=medium | head -3
commit 3fdc617258b295f3fc1cdd6d6d7f9d98bd294513
Author: John Doe <[email protected]>
Date: Thu Sep 6 11:34:35 2012 +0200
This assumes the git history has only one root (see How to show first commit by 'git log'? for discussion about it)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With