# File lib/r10k/git/working_dir.rb, line 75 def update update_remotes if update_remotes? if ref_needs_fetch? fetch_from_cache checkout(@ref) elsif needs_checkout? checkout(@ref) end end