Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Script to update several git repositories to the latest
#!/usr/bin/env ruby
require 'fileutils'
ROOT = '/home/git/checkouts/*'
Dir[ROOT].each do |path|, :verbose => true)
system("git fetch")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment