All Questions
4 questions
1
vote
1
answer
590
views
GitPython Issue when pushing a new local tag
I created a tag using
git tag -a test -m test
Now, I would like to push just this tag, but GitPython is reporting that I am not in the repository. Even though I can push the change commit just ...
0
votes
1
answer
517
views
how to create release in repository using python code
I created a tag in repository using git lib in python.
this code works fine and creates a new tag:
repo = Repo(repo_path)
repo.create_tag('some tag..')
now I'm trying to make this tag into a Release ...
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 ...