PowerShell script to implement a git workflow integrated with PivotalTracker, based on git-pivotal
PowerShell
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.
LICENSE Initial commit Oct 1, 2015
README.md Update README.md Oct 7, 2015
ps-git-pivotal.psm1 stoping history and removing branch Oct 3, 2015

README.md

ps-git-pivotal

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

#Usage 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) and the project id.

Start-Story

This command will list the top 5 stories in your PivotalTracker backlog and ask for a story id to start working 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.

Stop-Story

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 via PsGet If you have PsGet just do

install-module ps-git-pivotal

#Installing manually

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

$env:PSModulePath

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