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



411
412
413
# File 'lib/git/base.rb', line 411

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