Method: Git::Lib#reset

Defined in:
lib/git/lib.rb

#reset(commit, opts = {})

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



1210
1211
1212
1213
1214
# File 'lib/git/lib.rb', line 1210

def reset(commit, opts = {})
  args = build_args(opts, RESET_OPTION_MAP)
  args << commit if commit
  command('reset', *args)
end