Method: Git::Base#revert
- Defined in:
- lib/git/base.rb
permalink #revert(commitish = nil, opts = {})
reverts the working directory to the provided commitish. Accepts a range, such as comittish..HEAD
options: :no_edit
400 401 402 |
# File 'lib/git/base.rb', line 400 def revert(commitish = nil, opts = {}) self.lib.revert(commitish, opts) end |