175 176 177 178 179 180 181
# File 'lib/git_wrapper/repository.rb', line 175 def fetch(remote=nil) if remote.nil? execute(Commands::Fetch.new(@location).all) else execute(Commands::Fetch.new(@location).remote(remote)) end end