Recursively substitute remote URLs for multiple repositories. Will not commit changes by default, run with -c option to commit changes
brew install git-url-sub
git clone git://github.com/gosuri/git-url-sub.git
cd git-url-sub
sudo make install
git-url-sub [cs] <pattern> <replacement>
OPTIONS
-c: Commit changes
-s: Silently executes
Replace first occurance of 'foo' in the remote url with 'bar'
$ git url-sub foo bar
git@github.com:foo/myproject.git -> git@github.com:bar/myproject.git
Man pages at (http://gregosuri.com/git-url-sub)
git url-sub help
git-url-sub is copyright (C) 2011 Greg Osuri
See the file LICENSE for information of licensing and distribution.