The Giants overcame an even larger deficit the last time Matt Cain took the mound in this NL West matchup.
Cain will try to win a sixth consecutive start against Colorado in Sunday's series finale in San Francisco.
Losers of four straight to the Rockies (27-22) after winning the first four matchups this season, the Giants (27-22) avoided a third consecutive defeat overall with a 6-5, 10-inning victory Saturday. Angel Pagan had a walkoff, two-run inside-the-park homer after Troy Tulowitzki put Colorado up with a solo shot in the 10th.
The Giants trailed 4-0 after four innings.
"We had a couple of critical calls go against us, but it's all about bouncing back and these guys found a way," said manager Bruce Bochy , who was ejected in the eighth inning for arguing a call at third base.
San Francisco concludes its six-game homestand with Cain (3-2, 5.13 ERA) taking the ball for the first time since throwing seven innings of two-run ball in a 4-2, 10-inning victory over Washington on Tuesday. The right-hander, who didn't permit a run after the first inning, had been credited with the win in his previous three starts.
The Giants trailed 6-0 after three innings with Cain on the mound May 16, but went on to win 8-6 in Denver. He pitched 6 1-3 innings and San Francisco went ahead with a three-run sixth to help its ace earn yet another victory over Colorado.
The Rockies, who ended a nine-game skid in San Francisco with a 5-0 victory Friday, will go for their first series win there since 2010. Jon Garland (3-5, 5.19) will get his first look at the Giants since that same season while with San Diego.
The right-hander will try to avoid losing four consecutive starts for the first time since a career-worst five-start streak May 24-June 13, 2009, while with Arizona. He yielded five hits and 11 hits in a 5-1 loss to the Diamondbacks on Monday.
"I'm trying to figure it out," Garland told the Rockies' official website. "Tonight it seemed when I made my pitch, they were getting those little funny hits. When I didn't make my pitch, they hit it really hard. I've got to focus on keeping the ball hard and continue to attack the zone."
The Giants' Buster Posey is batting .412 during a nine-game hitting streak after a 3-for-5 effort Saturday.
Former Rockie Marco Scutaro could be another tough out. The second baseman, batting .404 with 15 RBIs against Colorado since being dealt to the Giants on July 27, is 12 for 25 with three doubles off Garland.
Tulowitzki, a .339 hitter against Cain with four home runs - tied for the most off of him - is batting .400 with two homers and eight RBIs during a 10-game hitting streak.
Carlos Gonzalez , who became the first Rockies player to hit a ball into McCovey Cove on Saturday, can match a career high by homering in four consecutive games. Gonzalez, though, is 4 for 35 against Cain.
|Jorge De La Rosa||5||.200||1||0||0||0||2||.200||.400||.200|
|May 15, 2013||Jeff Francis||15-Day DL||Left groin strain|
|May 09, 2013||Michael Cuddyer||15-Day DL||Bulging disk in neck|
|May 09, 2013||Michael Cuddyer||15-Day DL||Bulging disk in neck|
|May 07, 2013||Troy Tulowitzki||Day-to-Day||Sore groin|
|May 03, 2013||Troy Tulowitzki||Day-to-Day||Leg soreness|
|April 29, 2013||Troy Tulowitzki||Day-to-Day||Strained left shoulder|
|San Francisco Giants|
|May 21, 2013||Santiago Casilla||15-Day DL||Cyst on right knee|
|May 21, 2013||Ryan Vogelsong||15-Day DL||Fractured right hand - out 6-8 weeks|
|May 20, 2013||Ryan Vogelsong||Day-to-Day||Left game - Broken right hand|
|May 08, 2013||Santiago Casilla||Day-to-Day||Left game - right knee|
|May 04, 2013||Angel Pagan||Day-to-Day||Strained right hamstring|
|April 15, 2013||Jeremy Affeldt||15-Day DL||Strained right oblique|
SAN FRANCISCO (AP) -- Matt Cain finally started getting his pitches down after a shaky start. Good thing, too, because Giants manager Bruce Bochy was on the verge of pulling his ace in the second inning.
That patience paid off for the defending World Series champions and for Cain.
"That shows you how tough he is, the makeup of Matt Cain , and how strong he is," Bochy said after the Giants rallied past the Colorado Rockies 7-3 Sunday. "That's intestinal fortitude in his part. He found a way. That's as gutty an effort as you can see."
Cain (4-2) matched his season high of five walks but allowed only two runs and two hits in five innings. He is 4-0 with a 3.49 ERA in his last five outings after beginning the season 0-2 with a 6.49 ERA in his first six starts.
"I thought I might run out of pitches sometime in the third," Cain said. "I just made a little bit better pitches where the balls weren't maybe up as much."
He walked five of his first 10 batters but retired 11 of his last 12 and improved to 17-7 against the Rockies.
"If you don't get him and give him a chance to stay in the game, he's going to make the most of it and that's what he did," Colorado's Troy Tulowitzki said. "Once he smells he has a chance to get a win, he turns it up a notch."
Brandon Belt hit a tiebreaking two-run double in the fifth, and six pitchers combined for one-run relief, keeping San Francisco tied with Arizona for the NL West lead.
Buster Posey homered and Andres Torres added two hits and an RBI to help the Giants close a six-game homestand with consecutive wins. San Francisco plays 14 of its next 18 games on the road.
In his first appearance at AT&T Park, Jon Garland (3-6) allowed five runs - two earned - seven hits and four walks in five innings. While the Rockies swept a three-game series from the Giants in Denver two weeks ago, Colorado is 1-5 this year in San Francisco, where the Rockies have lost 12 of their last 15.
Carlos Gonzalez struck out three times with runners in scoring position after homering in his previous three games. Tulowitzki went hitless after drawing a walk in his first plate appearance while Dexter Fowler reached base four times but scored just once.
"We had some opportunities early," Rockies manager Walt Weiss said.
Michael Cuddyer hit a two-run double in the first for Colorado. Posey's seventh homer trimmed the deficit to 2-1 in the second, and Brandon Crawford tied it when he hit into a run-scoring forceout in the fourth.
Belt walked in his first two plate appearances before doubling off Garland to break a 2-all tie. The drive followed a two-out fielding error by second baseman D.J. LeMahieu on Hunter Pence 's high popup to short right field.
Torres' RBI double drove in Belt for a 5-2 lead. Pence added a two-run double in the eighth against Edgmer Escalona .
NOTES: Cuddyer, activated from the DL on Friday after recovering from a back injury, was removed from the game in the bottom of the sixth with a bruised right forearm after getting hit by a pitch leading off the top half. X-rays were negative. ... San Francisco reliever Santiago Casilla will undergo surgery this week to remove a cyst from inside a bone in his right leg. Casilla has been pitching with the cyst since last season. "That will hopefully correct what's going on over there," Bochy said. The timetable for recovery won't be known until after the operation. ... OF Angel Pagan was held out of the Giants lineup because of a sore left hamstring, one day after hitting a game-ending inside-the-park home run. Bochy said Pagan aggravated his hamstring earlier in the game before his walkoff hit. ... San Francisco LHP Madison Bumgarner (4-2) is slated to pitch Monday's series opener at Oakland. ... Colorado RHP Jhoulys Chacin (3-3), who starts against Houston on Monday, hasn't won since April 19.