# File lib/grit/git-ruby/repository.rb, line 670 def self.create_initial_config(bare = false) bare ? bare_status = 'true' : bare_status = 'false' config = "[core]\n\trepositoryformatversion = 0\n\tfilemode = true\n\tbare = #{bare_status}\n\tlogallrefupdates = true" add_file('config', config) end