SAN FRANCISCO — Lance Lynn pitched neatly into the eighth inning before leaving with ankle injury that's not considered serious, beating San Francisco for the first time in his career as the St. Louis Cardinals blanked the Giants 6-0 Saturday.
Lynn (11-8) awkwardly came off the mound to field Juan Perez's leadoff chopper in the eighth and twisted his right ankle trying to throw to first. That was Lynn's final batter, and he exited with a mild ankle sprain that will be reevaluated Sunday.
Lynn gave up six hits, struck out two and walked two. He had been 0-4 with a 6.33 ERA in his previous four regular-season starts against San Francisco and 0-1 in three postseason outings.
The right-hander outpitched Ryan Vogelsong (9-10) after losing to him 2-0 on Aug. 18 at Busch Stadium.
The NL Central-leading Cardinals broke open a scoreless game with four runs in the fifth.
Brandon Moss led off with a triple and Matt Carpenter singled with one out. A single by Stephen Piscotty and a walk to Jason Heyward loaded the bases.
Reliever George Kontos' second pitch was wild, allowing another run to score. Yadier Molina followed with a two-run single.
Piscotty later had an RBI triple, a day after the Cardinals' five-game winning streak was stopped by the Giants.
San Francisco began the day 2 1/2 games back of first-place Los Angeles in the NL West.
Vogelsong, who twice beat the Cardinals during the Giants' 2012 postseason run to the World Series championship, failed to reach five innings for the second straight start. He allowed four runs on seven hits and three walks in 4 2-3 innings.
The right-hander had been 2-0 with a 2.70 ERA over his previous three starts at AT&T Park. His defense gave him inning-ending double plays in the first and third before he ran into trouble in the fifth.
Cardinals reliever Sam Tuivailala, recalled from Triple-A Memphis on Friday, struck out three in the ninth and allowed two runners.
Cardinals: OF Matt Holliday, sidelined since July 30 with a strained right quadriceps muscle, was reevaluated in St. Louis. ... Reliever Jordan Walden, out since April 29 with a strained right biceps, also has been seen again by team doctors. ...
Closer Trevor Rosenthal, put on the paternity leave list Friday, is set to rejoin the team Monday at home against Washington. He and his wife welcomed a baby girl Friday night.
Giants: 2B Joe Panik, out since Aug. 2 with low back inflammation, did some running and hit in the indoor cage. He will take live BP on the field Sunday and is set to begin a rehab assignment Tuesday with Triple-A Sacramento. "It's been a little while," he said. "It's nice to be wearing baseball pants again."
Cardinals: LHP Jaime Garcia (6-4) tries to win his fourth straight decision and complete an unbeaten August. He is 9-3 with a 1.64 ERA over his last 14 road starts dating to Sept. 15, 2012.
Giants: RHP Chris Heston (11-7) makes his first start since Aug. 17 at St. Louis and is 0-2 over his last four starts, going fewer than five innings in three of those. He was given an extended break in the minors.