Equivalent to git tag --contains <commit>
#1269
Answered
by
Byron
bytefluxio
asked this question in
Q&A
-
What would be the gitpython equivalent of I need to ascertain all tags that point to descendants of a commit. The git command is incredibly fast, but doing the following just isn't effective:
|
Beta Was this translation helpful? Give feedback.
Answered by
Byron
Jun 10, 2021
Replies: 1 comment
-
I would go with |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Byron
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would go with
self.repo.git.tag(contains=commit)
.