module Git
def self.bare(git_dir, options = {})
-
(Git::Base)
- an object that can execute git commands in the context
Options Hash:
(**options)
-
:log
(Logger
) -- A logger to use for Git operations. Git commands
Parameters:
-
options
(Hash
) -- The options for this command (see list of valid -
git_dir
(Pathname
) -- The path to the bare repository directory
Other tags:
- Example: Open a bare repository and retrieve the first commit SHA -
Other tags:
- See: https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddefbarerepositoryabarerepository -
def self.bare(git_dir, options = {}) Base.bare(git_dir, options) end