Draws a nice table representing the differences between the local repo and remotes.
It is assumed that there is a direct relationship between the local branch names and remote branch names.
- Clone this repositry.
- Copy or symlink
git-moo
somewhere in your$PATH
. - Start using as
git moo
orgit-moo
!
USAGE: git moo {options} Draws a nice table representing the differences between the local repo and remotes. It is assumed that there is a direct relationship between the local branch names and remote branch names. OPTIONS -h show this help message --local-only or -l only show branches that exist locally --skip-lonely-branches or -slb don't show branches that exist in only one remote --skip-remote {remote} or -sr {remote} don't show the specified remote option can be given multiple times
This example comes from the mojito project and a couple of forks.
$ git remote -v drewfish git@github.com:drewfish/mojito.git (fetch) drewfish git@github.com:drewfish/mojito.git (push) isao git@github.com:isao/mojito.git (push) isao git@github.com:isao/mojito.git (fetch) yahoo git@github.com:yahoo/mojito.git (fetch) yahoo git@github.com:yahoo/mojito.git (push) $ git moo β local β drewfish β isao β yahoo ββββββββββββββββββββββββββΌβββββββββΌβββββββββββΌβββββββββββββΌβββββββββββ 0.3.26-pull187 β β β β b1036f arrow β β β 148a6e β arrowd17c56aa β β β 83bca1 β build130testfix β β β fcd6fa β client-leak-regression β β β 4bfd82 β develop β 2fcc88 β 2fcc88= β cf895f -20 β 29e030 +9 dom-mojit-warning β β β 2e9520 β dom-warnings-jslint β 45fb24 β 45fb24 β β handlebars3 β cad4da β β β master β 5d1785 β 5d1785= β 5d1785 β 5d1785 mojit-leak β β β 2dd731 β mojit-leak-036 β β β a33a62 β a33a62 npm β β β 240852 β pr269-ymodel β 3eb7a7 β 3eb7a7= β β pull162b β β β f384f7 β readmes β β β 09a43f β travis β β β 3884a2 β use-npm-mime β β β 88a068 β usr-mw-develop β β β 1e5dd9 β yaf-develop β ca2f55 β ca2f55= β β yui36x β β β 5f3bac β 5f3bac
To the extent possible under law, Drew Folta has waived all copyright and related or neighboring rights to git-moo.
This work is published from: United States.