kurttheviking / git-rev-sync-js

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

add optional `branch` parameter to count function #64

Open stdavis opened 3 years ago

stdavis commented 3 years ago

This library is SO useful! Thanks for your efforts on it.

This PR adds an optional branch parameter to the count function. This helped me have a more consistently incrementing build number on a specific branch as opposed to counting the total number of commits in the repo.

stdavis commented 2 years ago

Is there anything that I can do to help get this PR merged?