public
Description: A Ruby script that displays detailed status of local & remote branches, whether they are merged, and so on
Homepage:
Clone URL: git://github.com/michaelklishin/git-wtf.git
Daniel Vartanov (author)
Sun Sep 27 22:02:30 -0700 2009
name age message
file Makefile Sun Sep 27 22:00:12 -0700 2009 Makefile [Daniel Vartanov]
file README.textile Sun Sep 27 22:02:30 -0700 2009 README updated [Daniel Vartanov]
file git-wtf Wed Apr 01 06:18:54 -0700 2009 Initial commit [michaelklishin]
README.textile

git-wtf

A useful script that displays local & remote branches, what are in sync and what need merging,
and so on, like so:

Local branch: heads/master
[x] in sync with remote

Remote branch: origin/master (git@github.com:account/project.git)
[x] in sync with local

Feature branches:
[x] ticket_827 is merged in
[ ] ticket_831 is NOT merged in (1 commit ahead; 18 commits behind)
    - [dependencies] Depend on library X, version Y [bfda321]

Installation

$ make git-alias
(makes $ git wtf work)

$ make git-sh-alias
(makes master!repo> wtf work in git-sh console)

or just:

$ make
to perform both actions.

Then:
sudo make install
(obviously, installs git-wtf script into your /usr/local/bin directory)