Method: Git::Base#commit_all

Defined in:
lib/git/base.rb

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

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.



299
300
301
302
# File 'lib/git/base.rb', line 299

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