A simple git hook script that pre-populates your commit messages with the details of a story started in Pivotal Tracker.
-
Clone the repository
-
npm install
on the project -
Run the build step
npm run build
Setup the necessary environment variables:
export PIVOTAL_TOKEN=""
export PIVOTAL_PROJECTID=""
export PIVOTAL_INITIALS=""
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.