This file contains hidden or 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 | |
require 'rubygems' | |
require 'grit' | |
include Grit | |
#Assume that the repo exists in some way or another, if not, create it. | |
if(FileTest.exists?('repo.git')) | |
repo = Repo.new('repo.git') | |
else | |
repo = Repo.init_bare('repo.git') | |
end |
NewerOlder