We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
git rev-parse <tag>^{commit} resolves to the commit that the tag points to.
git rev-parse <tag>^{commit}
repo.rev_parse("<tag>^{commit}") saysValueError: Could not accommodate requested object type 'commit', got tag
repo.rev_parse("<tag>^{commit}")
ValueError: Could not accommodate requested object type 'commit', got tag
It should instead returnTagObject.object (at least if that is a commit object).
TagObject.object