Git logs for particular user within specific date range

Assuming you are in the local git repo dir, you can get git logs for particular user within specific date range:

git log --author="Bartosz Wieczorek" --pretty=format:https://git.mycompany.com/projects/repos/project1/commits/%H --since="2016-06-01 00:00:00" --until="2016-06-30 23:59:59"

Output:

https://git.mycompany.com/projects/repos/project1/commits/b85766e7d0ac2b59c0f4598864d63fc79d0f9e08
https://git.mycompany.com/projects/repos/project1/commits/63cbea050cef6b223f77f67914d16fc4192f16e1
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s