Method: Git::Base::Factory#gcommit

Defined in:
lib/git/base/factory.rb

#gcommit(objectish) ⇒ Git::Object

Returns a Git object.

Returns:



45
46
47
# File 'lib/git/base/factory.rb', line 45

def gcommit(objectish)
  Git::Object.new(self, objectish, 'commit')
end