Revision parsingΒΆ

You can use any of the fancy <rev> forms supported by libgit2:

>>> commit = repo.revparse_single('HEAD^')

Previous topic

References

Next topic

Commit log

This Page