Sha256: a53a73469638aa4eafa0f8a973489e00fe36abd39e57ea67d9b318478cfb2879

Contents?: true

Size: 1.65 KB

Versions: 2

Compression:

Stored size: 1.65 KB

Contents

This repository is about sharing helper scripts for the [Git](http://git-scm.com/)
version control system.

Install with:

    git clone git://github.com/mezis/git-whistles.git <clone-dir>

Add `<clone-dir>/bin` to your `$PATH`


#### chop

`git chop [branch]`

Delete the local and origin copy of a branch.
Useful to close feature branches once a feature is completed.

#### list-branches
 

`git list-branches [-l] [-r] [-i integration-branch]`

Colourful listing of all local or origin branches, and their distance to an
integration branch (`master` by default).

#### merge-po

`git merge-po <ancestor> <left> <right>`

For those using `gettext` for I18n, a must-have: this custom merge driver 
will handle most merge/conflicts issues when a PO file was edited by different
committers.

You don't have to call this directly.

Add this to your .git/config:

    [merge "pofile"]
      name = Gettext merge driver
      driver = git merge-po %O %A %B

Add this to .gitattributes:

    *.po   merge=pofile
    *.pot  merge=pofile


#### pull-request

`git-pull-request [branch]`

Open your browser at a Github pull-request page for the specified branch
(defaults to the current `head`).


#### stash-and-checkout

`git stash-and-checkout [branch]`

As the name implies: stash and checkout another branch.
If there was work in progress previously stashes for the target branch, it gets
unstashed.

This lets you keep work in progress on multiple branches without committing it.

I tend to alias this to `git co`.


## outstanding-features

`git checkout production ; git outstanding-features`

Lists the merge pull-requests that are on `production` but not (yet) on `origin/production`.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
git-whistles-0.3.1 README.md
git-whistles-0.3.0 README.md