Method: Git::Base#revert

Defined in:
lib/git/base.rb

#revert(commitish = nil, opts = {})

reverts the working directory to the provided commitish. Accepts a range, such as comittish..HEAD

options: :no_edit

[View source]

400
401
402
# File 'lib/git/base.rb', line 400

def revert(commitish = nil, opts = {})
  self.lib.revert(commitish, opts)
end