From: Simon Ruderich Date: Sat, 11 Aug 2012 03:04:34 +0000 (+0200) Subject: gitconfig: Add rp alias. Pushes to all remotes. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=963b33e5c25b4473501c89f68f9a401bf9b68ad6;p=config%2Fdotfiles.git gitconfig: Add rp alias. Pushes to all remotes. --- diff --git a/gitconfig.m4 b/gitconfig.m4 index 2d70efb..ced4fe1 100644 --- a/gitconfig.m4 +++ b/gitconfig.m4 @@ -95,6 +95,9 @@ include(../lib.m4) # # tig-like log view. glog = log --pretty=oneline --graph --all + # Push to all remotes. Thanks to albel727 in #git on Freenode + # (2011-06-04 16:06) for the idea. + rp = ! git remote | xargs -L1 -I{} git push {} [diff] # Detect copies and renames.