Tim Lincecum struck out 12 to surpass Christy Mathewson for most double-digit strikeout games in Giants history and Pat Burrell hit a tiebreaking single against his favorite opponent, lifting San Francisco over the New York Mets 2-0 on Wednesday night.
Lincecum (3-3) gave up five hits in seven innings, throwing 127 pitches for his most this season.
Four relievers completed the six-hitter with Brian Wilson working a perfect ninth for his 10th save.
Burrell put the Giants ahead in the sixth. Mike Fontenot added an insurance run with an RBI single off Chris Capuano (2-3) in the seventh.