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.(git_dir, opts = {}) default = {:repository => git_dir} = default.merge(opts) self.new() end |