pivotal_prepare_commit

1.0.0 • Public • Published

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.

/pivotal_prepare_commit/

    Package Sidebar

    Install

    npm i pivotal_prepare_commit

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • fpereira1