Skip to content

Instantly share code, notes, and snippets.

@aneury1
Created February 8, 2026 19:57
Show Gist options
  • Select an option

  • Save aneury1/36af8dc311a72e5d8e797dab20c5a890 to your computer and use it in GitHub Desktop.

Select an option

Save aneury1/36af8dc311a72e5d8e797dab20c5a890 to your computer and use it in GitHub Desktop.
# extract git hash
git describe --exclude '*' --always --dirty=-modified 2>/dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment