Method: Git::Base.bare
- Defined in:
- lib/git/base.rb
.bare(git_dir, opts = {}) ⇒ Object
opens a bare Git Repository - no working directory options
10 11 12 |
# File 'lib/git/base.rb', line 10 def self.(git_dir, opts = {}) self.new({:repository => git_dir}.merge(opts)) end |