kurttheviking / git-rev-sync-js

Synchronously get the current git commit hash, tag, or branch
MIT License
169 stars 57 forks source link

Add check for uncommitted changes #37

Closed nickstanish closed 6 years ago

nickstanish commented 6 years ago

Something like git diff-index --quiet HEAD --

kurttheviking commented 6 years ago

@nickstanish interesting idea; I'm always open to PRs if you're interested