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



422
423
424
# File 'lib/git/base.rb', line 422

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