What\'s the simplest way to get the most recent tag in Git?
git tag a HEAD git tag b HEAD^^ git tag c HEAD^ git tag
output:
You can execute: git describe --tags $(git rev-list --tags --max-count=1) talked here: How to get latest tag name?
git describe --tags $(git rev-list --tags --max-count=1)