tracker-git is a set of shell scripts to make working with git and Pivotal Tracker easier
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
scripts
README.md

README.md

Tracker-Git

tracker-git is a set of shell scripts to make working with git and Pivotal Tracker easier. If you didn't already know, you can easily integrate git (using GitHub) with Pivotal Tracker.

By running git commit -m "[Finishes #12345678] A nice commit message" you can create a commit while simultaniously updating the state of story #12345678 to Finished in your Pivotal Tracker project.

It's a bit tiring writing all of those quotes, brackets, and pound signs when you want to make a commit and complete a story, so I made a few simple scripts to streamline the process.

Usage

These commands will only create a commit. They will not stage any files, nor will they push.

Finish a story

git finish 12345678 "A nice commit message in quotes"

Fix a bug

git fix 12345678 "A nice commit message in quotes"

Commit a work in progress
This command will not finish or fix a story, instead, it will only generate a commit. If no message is given, "wip" is used instead.

git wip 12345678 "A nice WIP commit message in quotes"

Installation

Place files from the scripts/ directory into any folder in your PATH. If you don't know what a PATH is, just put them in /usr/bin/.

After placing the files in the correct place, you will need to give them execute permissions by running sudo chmod +x SCRIPT_NAME. For example, to give git-finish execute permissions, run sudo chmod +x /usr/bin/git-finish. Then, restart your terminal to apply the changes.