Skip to content

Instantly share code, notes, and snippets.

@dedeibel
Created April 6, 2016 15:05
Show Gist options
  • Save dedeibel/ad22cbb912d1be5093688293945ebd2a to your computer and use it in GitHub Desktop.
Save dedeibel/ad22cbb912d1be5093688293945ebd2a to your computer and use it in GitHub Desktop.
Simply get some git info of the current commit to include in your app
#!/usr/bin/env bash
git log -1 --format='format:git.hash="%H"
git.date="%ci"
git.ref="%d"' > include.git.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment