Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 564 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 564 Bytes

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

  1. Clone the repository

  2. npm install on the project

  3. Run 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.