• Turning point: With the bases loaded in the 11th with one out, the Yankees squandered a scoring chance when Hideki Matsui struck out and Robinson Cano grounded out to end the inning.
• Injury update: Derek Jeter left the game in the eighth inning with a slight left hip strain and is day-to-day.
• Figure this: Rodriguez had four hits for the second straight game, improving his average to .656 (21-for-32) in eight career games in San Francisco.
• Quotable: "We saved some sanity around here with the streak we've been
in. They just gritted this thing out and found a way to get a win. We needed it bad." -- Giants manager Bruce Bochy
-- ESPN.com news services
Giants 6, Yankees 5 (13 innings)
The frustration of a season-high eight-game losing streak was boiling over until rookie Nate Schierholtz delivered a two-out RBI single in the 13th inning that gave the Giants a 6-5 victory over the New York Yankees on Saturday.
"We saved some sanity around here with the streak we've been in," Bochy said. "They just gritted this thing out and found a way to get a win. We needed it bad."
The Giants had to rally from an early three-run deficit and overcome Rodriguez's game-tying home run in the ninth inning before getting their first win since June 12.
Ryan Klesko started the winning rally with a single against Scott Proctor (1-4) and moved to second on Bengie Molina's sacrifice bunt. With two outs, Omar Vizquel lined two balls down the left-field line that were barely foul before reaching on an infield single.
"Oh my god. It was a teaser," Vizquel said. "Those line drives to left field were just teasing, teasing, teasing. Finally I got a little infield hit up the middle and Schierholtz got the blooper. It was a hard game to win. Hopefully that game will turn things around for us."
Schierholtz won it with a soft single that fell in front of center fielder Melky Cabrera. The Giants poured out of the dugout and mobbed Schierholtz on the infield. The rookie has 10 hits in 25 at-bats this season but none bigger than this one.
"It's been tough," he said. "I got here just a couple of weeks ago. We won our first couple of games and then went on a slide. It's definitely a big win. Hopefully things will start to turn around."
Vinnie Chulk (2-2), San Francisco's seventh pitcher, threw a hitless inning for the win.
The Yankees had a chance to win it in the 11th when they loaded the bases with one out against Steve Kline. But Hideki Matsui struck out on three pitches and Robinson Cano grounded out to end the threat. New York has lost four of five.
"It's disappointing," Matsui said through an interpreter. "We had opportunities to capitalize but we didn't. It's time to move on."
Barry Bonds gave the Giants a 5-4 lead in the seventh when he walked with the bases loaded against Brian Bruney. Bonds also hit an RBI single in the sixth and remained at 749 career home runs -- six shy of tying Hank Aaron's career record of 755.
New York looked to be on its way to a second straight win in the series when Chien-Ming Wang took a 4-2 lead into the seventh. Pedro Feliz drew the Giants within one with his 100th career homer -- the first allowed by Wang all season to a right-handed hitter.
Wang was replaced by Mike Myers after Vizquel singled with one out. The Giants loaded the bases with two outs for Bonds against the hard-throwing Bruney. Using a hard fastball that reached 96 mph, Bruney got in front of Bonds 1-2 before missing with three straight balls to give the Giants a 5-4 lead.
Rodriguez erased that with his major league-leading 28th homer in the ninth inning against Brad Hennessey. A-Rod had four hits for the second straight game, improving his average to .656 (21-for-32) in eight career games in San Francisco.
"I just try to keep things simple," Rodriguez said. "It was a long day and a tough loss. We kind of had some bad luck there. ... It's frustrating whether you go 5-for-5 or 0-for-5 when you lose."
Rodriguez singled and scored in a three-run third inning against Matt Morris and then singled and scored again in the fifth to give the Yankees a 4-1 lead.
The Giants got one run back in the sixth, when they lost Bochy to his second ejection in three games. Bochy came out to argue after Ray Durham was called out on a close play at first base. Durham hit a grounder off Wang's glove to shortstop Derek Jeter. The throw beat Durham but replays appeared to show that Miguel Cairo's foot was off the bag.
Bonds followed with an RBI single to cut New York's lead to 4-2, but Wang got out of the inning without further damage.
Wang allowed four runs and six hits in 6 1/3 innings, getting his first no-decision in 12 starts this season. He walked two and did not strike out a batter after recording a career-high 10 in his last start against the New York Mets.
Morris allowed four runs and 13 hits in 5 2/3 innings, matching the most hits he has allowed in any start in his career.
"It felt like we scored eight or nine runs but they weren't on the board," Yankees manager Joe Torre said. "We had 17 hits. I have no complaints other than the final score."
Jeter doubled in the first inning to extend his hitting streak to 17 games. He left the game in the eighth inning with a slight left hip strain and is day-to-day. ... Morris also allowed 13 hits in a game on Sept. 11, 1998, in an 8-2 loss at Houston. ... Yankees OF Johnny Damon, slowed by a strained abdominal muscle, grounded out as a pinch-hitter in the eighth.