Skip to content

Instantly share code, notes, and snippets.

@edavis10
Created March 19, 2010 23:35
Show Gist options
  • Save edavis10/338312 to your computer and use it in GitHub Desktop.
Save edavis10/338312 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
require 'fileutils'
ROOT = '/srv/gitosis/checkouts/*'
Dir[ROOT].each do |path|
FileUtils.cd(path, :verbose => true)
system("git fetch")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment