Technology Insights

Get the Latest Git Repository Tag

To obtain the latest git repo tag issue the below command. In my case this is how we list the latest master version of what is pushed to our test server or live server. bash [web@server project]# git describe 1.0.0-21-g58c28a4 Our format is main_version-revision-hash which will ensure that all commits are unique. You can issue…