Method: Git::Base#checkout
- Defined in:
- lib/git/base.rb
#checkout(branch = 'master', opts = {}) ⇒ Object
checks out a branch as the new git working directory
286 287 288 |
# File 'lib/git/base.rb', line 286 def checkout(branch = 'master', opts = {}) self.lib.checkout(branch, opts) end |