pivotal_prepare_commit
v1.0.0
Published
A simple git hook script that pre-populates your commit messages with the details of a story started in Pivotal Tracker.
Readme
Pivotal tracker prepare commit
A simple git hook script that pre-populates your commit messages with the details of a story started in Pivotal Tracker.
Install
Clone the repository
npm installon the projectRun the build step
npm run build
Setup the necessary environment variables:
export PIVOTAL_TOKEN=""
export PIVOTAL_PROJECTID=""
export PIVOTAL_INITIALS=""Installing a hook
You'll need to symlink the git's pre commit message file in .git/hooks/prepare-commit-msg to the prepare-commit-msg.js file in this project.
