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:
If you want to find the last tag that was applied on a specific branch you can try the following:
git describe --tag $(git rev-parse --verify refs/remotes/origin/"branch_name")