Method: Git.init

Defined in:
lib/git.rb

.init(working_dir = '.', options = {}) ⇒ Object

initialize a new git repository, defaults to the current working directory

options

:repository => '/path/to/alt_git_dir'
:index => '/path/to/alt_index_file'


139
140
141
# File 'lib/git.rb', line 139

def self.init(working_dir = '.', options = {})
  Base.init(working_dir, options)
end