This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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) |