In [1]: from git import Repo, Commit | |
In [2]: repo = Repo('/tmp/xxx') | |
In [3]: list(repo.iter_commits('master', 'README.md', max_count=1))[0].author | |
Out[3]: <git.Actor "Mikhail Andreev (adw0rd) <x11org@gmail.com>"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment