Method: Git::Lib#init
- Defined in:
- lib/git/lib.rb
#init(opts = {})
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
creates or reinitializes the repository
options: :bare :working_directory :initial_branch
90 91 92 93 |
# File 'lib/git/lib.rb', line 90 def init(opts = {}) args = build_args(opts, INIT_OPTION_MAP) command('init', *args) end |