PowerShell script to implement a git feature branch workflow integrated with PivotalTracker, heavily based on git-pivotal. You will need the git command in your path.


Inside your git repository run the following commands. The script will ask for some config values in the first run, your PivotalTracker API token (you can find it in your profile page) the other config is the project id.


This command will list the top 5 stories in your PivotalTracker backlog and ask for a story id to start work on, after you choose an id a branch will be created and the story on pivotal will change to started. After that you can do your current work and commits as always.


After you´re done run this command to merge the current branch into master, mark the story as finished in PivotalTracker and delete the created feature branch.

Installing (manual)

Grab a version of the script ps-git-pivotal.psm1 and put inside the PowerShell modules path within a folder named ps-git-pivotal. You can check the path with the PSModulePath environment variable.


As always you can fork and clone the repository inside the PowerShell modules path it will work too.

Fork me on GitHub