Permalink
Browse files

Git: remotes alias with enhanced output

  • Loading branch information...
1 parent 2bfb1e7 commit 45c32d381289be60885af75e900a1908639ee5f7 @cdlm committed Mar 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 dotfiles/gitconfig
View
@@ -19,7 +19,7 @@
co = checkout
pl = !"f () { git l1 && git pull $*; }; f"
branches = branch -a --verbose
- remotes = remote --verbose
+ remotes = !"f () { local n; if [[ $1 = '-n' ]]; then n=$1; shift; fi; git remote show $n ${*:-`git remote | paste -sd ' ' -`}; }; f"
svnci = !"f () { git svn rebase && git svn dcommit; }; f"
svnup = svn rebase
svnups = !"f () { git stash && git svnup && git stash apply; }; f"

0 comments on commit 45c32d3

Please sign in to comment.