Method: Git::Base#archive

Defined in:
lib/git/base.rb

#archive(treeish, file = nil, opts = {}) ⇒ Object

creates an archive file of the given tree-ish



357
358
359
# File 'lib/git/base.rb', line 357

def archive(treeish, file = nil, opts = {})
  self.object(treeish).archive(file, opts)
end