Git-Routines

git start—a Git workflow helper that:

  • Shows all your PivotalTracker stories
  • Creates feature/bug/chore branches (e.g. feature/4711-create-profile) for a chosen story Bonus: you can also create a new story in the command line
  • Asks to estimate the story if needed
  • Sets the story started
  • Optional: Outputs a summary of the story to the command line (incl. description, tasks, and link to story)

git finish—to call after you finished the story:

  • Sets the story finished
  • Optional: Rebases the current branch to your master branch
  • Pushes the branch
  • Optional: Opens a GitHub pull request (incl. link to the corresponding PivotalTracker story)
  • Checks out master

The first questions will only be asked once: git-routines-demo git-routines-pull-request

Setup

gem install git-routines

Other configuration happens on the fly. All information will be requested when needed.

Work in Progress

This is brand new but at Homify we’re using it for our workflows. It is mostly done, feedback is welcome, and GitHub issues integration as alternative to PivotalTracker is in the planning. Other tools should be easy to integrate. Have a look into the source or ping me on Twitter. If you have a better name for this, let me know ;)

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'add some awesome feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Copyright 2015 Nico Hagenburger. See MIT-LICENSE.txt for details. Get in touch with @hagenburger on Twitter or open an issue.