Project

pgit

0.0
No commit activity in last 3 years
No release in over 3 years
Optimize your Pivotal Tracker and Github workflow
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 3.5.1
~> 0.7
~> 3.0.1
>= 0
~> 3.1
~> 0.9

Runtime

~> 4.2.0
= 2.12.2
~> 0.6.0
~> 2.0.0
 Project Readme

PGit

Travis CI Build Gem Version Code Climate Coverage Status

Example Usage

Assuming that:

  • you have a project that uses Pivotal Tracker and Git that is listed under ~/.pgit.rc.yml
  • your working directory is in that project,
  • you want to automatically branch out based on the story title
  • the story title with story id 10102004 is "Implement a really cool feature"
$ pgit story_branch -s 10102004

will create a branch for you named implement-really-cool-feature-10102004

Installation

Install via RubyGems:

$ gem install pgit

Create autocompletion script and configuration file

$ pgit install

Add a project

The following will ask you questions as to which Pivotal Tracker project to associate to your working directory:

$ pgit proj add

Create a branch

Once your working directory is associated to a Pivotal Tracker project, this will ask you which branch to create:

$ pgit branch

Add a command for deployment

Do you want to automate the merging/rebasing process? STORY_BRANCH is the memoized current branch.

pgit cmd add --name="finish" --steps="git fetch origin master, git rebase origin/master, git checkout master, git merge STORY_BRANCH, git branch -d STORY_BRANCH, git push origin :STORY_BRANCH, git push origin master"

You can run the steps of the command as follows:

$ pgit cmd run finish

Development

See https://www.pivotaltracker.com/n/projects/1228944 for information.