Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add shortcut for seeing all known remotes.

  • Loading branch information...
commit ef9b69c456469b22a3af966d85bce18c15219fdb 1 parent 07eec14
Jordan Ritter jpr5 authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  .gitconfig
1  .gitconfig
@@ -13,6 +13,7 @@
13 13 up = remote -v update -p
14 14 staged = diff --cached
15 15 sub = submodule
  16 + remotes = remote -v show
16 17 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
17 18 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
18 19 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.
Something went wrong with that request. Please try again.