$> git log -1
>>> commit = repo[repo.head.target] >>> commit.message 'commit message'
$> git log
>>> last = repo[repo.head.target] >>> for commit in repo.walk(last.id, pygit2.GIT_SORT_TIME): >>> print(commit.message) # or some other operation
git-init
git-show
Enter search terms or a module, class or function name.