# File lib/git/lib.rb, line 220 def remove(path = '.', opts = {}) path = path.join(' ') if path.is_a?(Array) arr_opts = ['-f'] # overrides the up-to-date check by default arr_opts << ['-r'] if opts[:recursive] arr_opts << path command('rm', arr_opts) end