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
276 277 278 |
# File 'lib/git/base.rb', line 276 def checkout(branch = 'master', opts = {}) self.lib.checkout(branch, opts) end |