Git Get Latest Commit Id
Git Get Latest Commit Id . If you have tags tagging the versions, you may use. The result for it would look something like the following: How to Checkout/Clone From a Specific Git Commit Id (SHA) DevOps Today from devopstoday.net Instead of the method introduced here, you may use. I use it to name packages of my builds and other versioning purposes. Instead of the head sha1, i would rather go with git describe, as a more readable way to get a build id.