Browse files

Add shortcut for seeing all known remotes.

  • Loading branch information...
1 parent 07eec14 commit ef9b69c456469b22a3af966d85bce18c15219fdb @jpr5 jpr5 committed Aug 25, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 .gitconfig
View
1 .gitconfig
@@ -13,6 +13,7 @@
up = remote -v update -p
staged = diff --cached
sub = submodule
+ remotes = remote -v show
m = !B=$(git branch | grep '*' | awk '{print $2}') && R=$(git config branch.$B.remote) && RB=$(git config branch.$B.merge | cut -d/ -f3) && git merge $R/$RB
d = !B=$(git branch | grep '*' | awk '{print $2}') && R=$(git config branch.$B.remote) && RB=$(git config branch.$B.merge | cut -d/ -f3) && git wc $B..$R/$RB
rd = !B=$(git branch | grep '*' | awk '{print $2}') && R=$(git config branch.$B.remote) && RB=$(git config branch.$B.merge | cut -d/ -f3) && git wc $R/$RB..$B

0 comments on commit ef9b69c

Please sign in to comment.