Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 127285f9ac
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (22 sloc) 0.846 kB

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)

Jump to Line
Something went wrong with that request. Please try again.