Method: Git::Base#commit

Defined in:
lib/git/base.rb

#commit(message, opts = {}) ⇒ Object

commits all pending changes in the index file to the git repository

options:

:all
:allow_empty
:amend
:author


292
293
294
# File 'lib/git/base.rb', line 292

def commit(message, opts = {})
  self.lib.commit(message, opts)
end