Method: Git::Base#revert

Defined in:
lib/git/base.rb

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

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

options:

:no_edit


280
281
282
# File 'lib/git/base.rb', line 280

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