git-ref

Get git information using your system git executable.

MIT License

Downloads
134
Stars
1
git-ref - v0.4.0 Latest Release

Published by maxmilton over 1 year ago

What's Changed

Full Changelog: https://github.com/maxmilton/git-ref/compare/v0.3.1...v0.4.0

git-ref -

Published by maxmilton almost 3 years ago

Removed

  • Clean up unnecessary files from shipped package
git-ref -

Published by maxmilton about 3 years ago

Added

  • Add new fromClosestTag function to get number of commits between closest tagged commit and HEAD commit (#68)
git-ref -

Published by maxmilton over 3 years ago

Added

  • Add new gitHash function to get the git commit hash (#25)
  • Support passing custom cwd path to change where git is executed (#26)

Removed

  • gitRef args argument; remove the ability to customise the git describe args to prevent arbitrary command injection (#26)
git-ref -

Published by maxmilton over 3 years ago

Added

  • Add new isDirty function to detect dirty git tree state (#27)
Package Rankings
Top 12.88% on Npmjs.org
Badges
Extracted from project README
Build status Coverage status NPM version NPM bundle size (minified + gzip) Licence