tjmehta / git-fb

Git feature-branch workflow helper commands
11 stars 2 forks source link

GitHub Flow Commands (feature-branch helpers)

Bash Commands

git fb new-feature

git sync

git pullr "title" "description"

git done

git boom

below provided by git-wip (included):

git wip

git unwip

git resume some-feature

Requirements

Node.js - Download here

How to Install

$ npm install -g git-fb

Setup

If you want to setup you integration branch as something other than master use the following command:

$ git config gitfb.integrationBranch <integration-branch> # defaults to master
$ git config user.name <github-username> # not email

Documentation

git fb new-feature

$ git fb <new-feature-branch>
$ git fb <new-feature-branch> <source-branch>

git sync

$ git sync
$ git sync <branch-to-sync-with>

git pullr "title" "description"

$ git pullr <title> <description>
$ git pullr <title> <description> <branch-to-pull-request-to>

git done

$ git done
$ git done <branch-to-merge-into>

git boom some-feature

$ git boom <branch-to-delete>

Commands provided by git-wip:

git wip

$ git wip

git unwip

$ git unwip

git resume

$ git resume <branch>

License

MIT

Bitdeli Badge