# File lib/r10k/git/working_dir.rb, line 103 def checkout(ref) git ["checkout", "--force", @ref.sha1], :path => @full_path rescue => e raise R10K::Git::GitError.wrap(e, "Cannot check out Git ref '#{@ref}'") end