Skip to content

Instantly share code, notes, and snippets.

View mmorearty's full-sized avatar

Mike Morearty mmorearty

View GitHub Profile
@mmorearty
mmorearty / gitpullall.rb
Created September 27, 2012 18:57
Finds all git repos under the current directory, and does "git pull" on each
#!/usr/bin/env ruby
#
# Finds all git repos under the current directory, and does "git pull" on each.
#
# To use this, you must first "gem install colored"
require 'colored'
def gitpull(dir)
dir = File.absolute_path(dir)