I have Teamcity build agent, where I need to extract the
My solution, ended up being as follows:
Register SSH credentials to access Github on the TC Agent.
git clone ssh://firstname.lastname@example.org/account-name/repo.git /var/tmp/projectname_tmp
cd to the directory
git log >> output.file
For bonus points, you can extract from a given date like so:
git log --since='2016-11-01 03:00' >> output.log