v1.0.1
https://www.npmjs.com/package/react-git-info/v/1.0.1
What's Changed
- Do not use
git branch --show-current
to get the current branch. Instead usegit rev-parse --abbrev-ref HEAD
increasing compatibility with older git versions (#2).
https://www.npmjs.com/package/react-git-info/v/1.0.1
git branch --show-current
to get the current branch. Instead use git rev-parse --abbrev-ref HEAD
increasing compatibility with older git versions (#2).