Tim Lincecum gave up five runs in two innings, but the Giants battled back behind 14 hits to earn the comeback spring win over the division-rival Rockies.