Method: Git::Base.bare

Defined in:
lib/git/base.rb

.bare(git_dir, opts = {}) ⇒ Object

opens a bare Git Repository - no working directory options



13
14
15
16
17
18
# File 'lib/git/base.rb', line 13

def self.bare(git_dir, opts = {})
  default = {:repository => git_dir}
  git_options = default.merge(opts)
  
  self.new(git_options)
end