# File lib/git/lib.rb, line 236 def reset(commit, opts = {}) arr_opts = [] arr_opts << '--hard' if opts[:hard] arr_opts << commit.to_s if commit command('reset', arr_opts) end