git-sh and git-wtf together
December 13th 2010git-sh is awesome. As well as git-wtf. I bet most people are not aware of git-wtf, but they certainly should, cause it is an extremely convenient and useful tool when you are working with several branches and/or remotes. A little example of git-wtf output:
(see http://github.com/michaelklishin/git-wtf)
The problem
If you are using git-sh, you have to type
which is long and annoying.
The solution
This post shows how to call git-wtf just by typing
branch!repo> wtf
in git-sh console.
Clone the fork of git-wtf, which contains a pretty Makefile (I hope it will be merged into main repo soon):
Run make to configure correspondent aliases for git and git-sh:
Run make install if git-wtf script is not in PATH-directory already:
You can simply run wtf command in git-sh console now:
Enjoy :–)
