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.



1208
1209
1210
1211
1212
# File 'lib/git/lib.rb', line 1208

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