Method: Garlic::Repo#checkout
- Defined in:
- lib/garlic/repo.rb
#checkout(tree_ish) ⇒ Object
83 84 85 |
# File 'lib/garlic/repo.rb', line 83 def checkout(tree_ish) cd(path) { sh "git checkout -q #{tree_ish}", :verbose => false } end |