Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
In [1]: from git import Repo, Commit
In [2]: repo = Repo('/tmp/xxx')
In [3]: list(repo.iter_commits('master', '', max_count=1))[0].author
Out[3]: <git.Actor "Mikhail Andreev (adw0rd) <>">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.