zfw0fq
Last Updated: February 25, 2016
·
422
· wajatimur
1f531a29ca246f02a96460fa5217b910

Get The Latest Git Tag in Repository

Below is the example on how to get the most recent tag in repository.

git describe --tags `git rev-list --tags --max-count=1`

The second part of command as below will return the hash of the tag.

git rev-list --tags --max-count=1
Say Thanks
Respond
Filed Under