From: Mike Frysinger Date: Mon, 12 Sep 2011 14:07:44 +0000 (-0400) Subject: google stuff X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=35c220c50f1bd64d2e0cdece1ba162c69fd78d15;p=home.git google stuff --- diff --git a/.bin/r b/.bin/r new file mode 100755 index 0000000..f973ff8 --- /dev/null +++ b/.bin/r @@ -0,0 +1,20 @@ +#!/bin/bash +g() { git "$@"; } +cmd=$1 +shift +acmd=$(git config --get "alias.${cmd}") + +case ${acmd} in +rebase) + if [[ $1 == "all" ]] ; then + for b in $(g b | awk '{print $NF}') ; do + echo " ### $b" + g co $b || exit 1 + r rb || exit 1 + done + exit 0 + fi + ;; +esac + +exec repo ${acmd:-${cmd}} "$@" diff --git a/.gitconfig b/.gitconfig index fab8910..982edd3 100644 --- a/.gitconfig +++ b/.gitconfig @@ -16,6 +16,7 @@ default = current [alias] a = add + ab = abandon b = branch bi = bisect ci = commit diff --git a/.ssh/config b/.ssh/config index 852457e..2b36aef 100644 --- a/.ssh/config +++ b/.ssh/config @@ -138,6 +138,22 @@ Host work-ports +### +### Google +### +Host gerrit.chromium.org + IdentityFile ~/.ssh/id_rsa.google +Host gerrit-int.chromium.org + IdentityFile ~/.ssh/id_rsa.google + +Host review.source.android.com + IdentityFile ~/.ssh/id_rsa.google + +Host git.overlays.gentoo.org + IdentityFile ~/.ssh/id_rsa.google + + + ### ### random source systems ###