All Questions
2 questions
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 ...
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 ...