SAN FRANCISCO (AP) -- Lance Berkman is going to ride this hitting tear he's on as long as possible. Same goes for Houston manager Cecil Cooper, who continues to be amazed by his club's gutsy play.
Berkman splashed his major league-leading 15th home run into McCovey Cove to break a ninth-inning tie, helping the Astros rally past the San Francisco Giants 8-7 on Thursday for their 11th win in 13 games.
Houston already has come from behind to win 13 times this year.
"We'll take as many as we can get," Berkman said. "It seems like we're never out of it. That might be the best comeback I've seen since I've been here."
Houston rebounded from a 6-0 deficit to take three of four from the Giants, its first series win in San Francisco since a three-game sweep in September 2001. The Giants hadn't blown a six-run lead since Sept. 8, 2000, against San Diego, while the Astros came back from six runs down for the first time since May 9, 2000, vs. Colorado.
"I don't know. It's just amazing," Cooper said. "I'm hanging along for the ride. They keep doing it. They don't quit."
Berkman also hit a two-run single and is riding a 14-game hitting streak. He went 7-for-15 (.467) with three homers and seven RBIs during the series.
Pinch-hitter Darin Erstad hit a tying, three-run homer in the eighth and Carlos Lee also homered in the inning off Tyler Walker, who faltered on his 32nd birthday. Berkman connected off Vinnie Chulk (0-2) for the first splash-hit homer by an Astro and the 16th by a Giants opponent.
Barry Bonds, the indicted home run king, hit 35 into the water beyond the right-field fence.
"I mean, what a distinction, what an honor," Berkman joked about his water shot. "That's pretty big."
Erstad's drive to the right-field arcade marked his first career pinch-hit homer and the first for the Astros this season. It also spoiled a strong start by San Francisco's Tim Lincecum.
"We're having a tough time keeping the ball in the ballpark," Giants manager Bruce Bochy said. "These are games we need to close out."
San Francisco's Randy Winn doubled twice among his three hits and scored two runs. He has a 10-game hitting streak and needs one double for No. 300 of his career.
Aaron Rowand drove in two runs for the Giants, who got five straight hits off starter Chris Sampson to start the third on an unusually hot spring day in the Bay Area. It was 95 degrees at first pitch -- the second-hottest day in the ballpark's 9-year history and the third game when the temperature reached 90.
Omar Vizquel singled in his first three at-bats to give him 2,606 hits, moving him past Tim Raines for seventh place among switch-hitters. John Bowker hit a two-run double and added a sacrifice fly for the Giants.
Alex Hinshaw, called up from Triple-A Fresno earlier in the day, relieved Walker to make his major league debut and struck out Michael Bourn before allowing a single to Kaz Matsui and giving way to Chulk.
"Basically, you can blame me for losing this game," Walker said. "No way Vinnie should pitch in that game. There were six outs to go with a four-run lead. I know the Astros are a good hitting team, but that's our job. It's something you have to come back from."
Lincecum walked Berkman to start the second but that was his only baserunner until Matsui's single to start the fourth. Lincecum struck out 10 for his fourth career game with 10 or more Ks and second this year. He allowed three runs, five hits and three walks in six innings.
"He had just a little blip on the radar there," Berkman said. "He's got as good of stuff as I've ever seen."
Rowand's high chopper in the first got past shortstop Loretta for an error and an RBI, allowing Vizquel to score from third for a 1-0 lead. Regular starting shortstop Miguel Tejada took his first day off of the season for Houston before pinch-hitting in the ninth.
The Astros will conclude their season-long, 10-game road trip with three interleague games at Texas starting Friday.
Astros reliever Geoff Geary left with a strained right groin. ... Houston stole three bases, including the seventh of the year by Berkman, to extend its major league lead to 45. ... Vizquel had three or more hits for the 176th time in his 20-year big league career. ... Houston 3B Ty Wigginton was held out of the lineup for the third straight game after getting hit in the left ribcage area Monday, but is expected to return Friday.