Skip to main content

All Questions

Tagged with
26 votes
4 answers
25k views

GitPython tags sorted

I am trying to get the latest tag in the repo using GitPython lib. Usually I was doing it this way: repo = Repo(project_root) last_tag = str(repo.tags[-1]) But once version 1.10 was released, I am ...
Ilia Shakitko's user avatar
1 vote
2 answers
2k views

Equivalent to "git tag --contains" in gitpython

I am trying to achieve git tag --contains <commit> in gitpython. Can anyone point me to the documentation. I have found documentation to fetch all tags but not with tags that contain particular ...
pavan's user avatar
  • 77