We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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}") says ValueError: 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 return TagObject.object (at least if that is a commit object).
TagObject.object