Method: Git::Base#commit_all
- Defined in:
- lib/git/base.rb
permalink #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.
419 420 421 422 |
# File 'lib/git/base.rb', line 419 def commit_all(, opts = {}) opts = {:add_all => true}.merge(opts) self.lib.commit(, opts) end |