Skip to content

git hook script that pre-populates your commit template with a Pivotal Tracker story

License

Notifications You must be signed in to change notification settings

vimark1/pivotal-prepare-commit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

git hook script that pre-populates your commit template with a Pivotal Tracker story

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published