Method: Git::Base#commit_all

Defined in:
lib/git/base.rb

#commit_all(message, opts = {})

commits all pending changes in the index file to the git repository, but automatically adds all modified files without having to explicitly calling @git.add() on them.

[View source]

419
420
421
422
# File 'lib/git/base.rb', line 419

def commit_all(message, opts = {})
  opts = {:add_all => true}.merge(opts)
  self.lib.commit(message, opts)
end