DENVER -- The Colorado Rockies' younger players are making their presence felt down the stretch.
Rookie infielder Ryan McMahon had a pinch-hit home run and Carlos Gonzalez tripled with the bases loaded during a five-run seventh inning that carried NL West leading Rockies past the San Francisco Giants 6-2 on Tuesday night.
David Dahl, who played in only 19 minor league games last season because of a stress reaction in his rib cage after making his major league debut late in 2016, also homered for the Rockies. On Monday, rookie Noel Cuevas had a pinch-hit two-run single to make the difference in a 9-8 win over the Giants.
Colorado, bidding for its first NL West title, has a lead in the division in September or October for the first time since 1995. It was the fourth straight loss for the Giants, who also have lost six in a row to Colorado.
"It's just a really good group, especially the contributions we're getting from the young guys," Gonzalez said after the Rockies' 40th come-from-behind win of the season. "Yesterday was Cuevas. Tonight was McMahon with a huge home run to tie the game. After that, we were able to keep the momentum going, getting guys on and trying to get that big hit."
Rockies starter German Marquez had shut down the Giants since allowing a run in the first inning, striking out 11 over 6 2/3 innings. But with two outs and the bases clear in the seventh, Gorkys Hernandez snapped a 1-1 tie with his second home run in as many games.
That set the stage for a rally in the bottom of the seventh by the Rockies, who batted around after being limited to a run in six strong innings by Dereck Rodriguez.
With one out, McMahon drove an 0-1 offering from reliever Reyes Moronta (5-2) over the wall in straightaway center for his second pinch homer of the season.
"Honestly, I was just trying to get a knock for the team and get the next guy up there," McMahon said. "It just worked out. Marquez went out there and pitched so well. He's been amazing. We were just out there and we were going to grind through it. This team is pretty resilient. It's a fun group to be around."
"It's a shame that we can't hold onto some of these games, certainly when he's pitching," Giants manager Bruce Bochy said of the effort by Rodriguez. "What a nice job he did."
Gregor Blanco singled to lead off the game and stole second before Joe Panik followed with an RBI single. The Rockies evened the score when Dahl started the second with a home run, his ninth of the season.
Giants: CF Steven Duggar underwent season-ending surgery Tuesday to repair a torn labrum in his left shoulder. "All went well," manager Bruce Bochy said. "He came out of it fine." Duggar suffered the injury a week ago diving back into second base. He's expected to be ready in time for spring training.
GIANTS MOVES: RHP Jeff Samardzija (right shoulder inflammation) has been transferred to the 60-day disabled list and INF Abiatal Avelino had his contract purchased from Triple-A Sacramento. He is awaiting his major league debut.
ROCKIES MOVES: RHP D.J. Johnson had his contract selected from Triple-A Albuquerque and is making his debut on a major league roster. INF Garrett Hampson, LHP Sam Howard and OF Ramiel Tapia were all recalled from Albuquerque. Hampson, Howard and Tapia all spent time with the Rockies earlier this season.
Giants: LHP Andrew Suarez (6-9, 4.19 ERA) will be seeking a third consecutive win when he starts Wednesday night's series finale against Colorado. He pitched seven innings of two-hit ball as part of the Giants' 7-0 win over the New York Mets last time out.
Rockies: RHP Antonio Senzatela (4-5, 4.88 ERA) has gone 2-1 with a 4.24 ERA in three previous starts this season at Coors Field.
Rockies hoping home more welcoming as Phillies arrive
The Colorado Rockies got their first look at Manny Machado since he signed with San Diego in the offseason.
Red Sox's Pedroia exits with knee discomfort
Red Sox second baseman Dustin Pedroia left Wednesday night's game against the Yankees after his first at-bat with discomfort in his troublesome left knee.
Gardner rips grand slam to right
Brett Gardner gives Yankees the lead with a grand slam in the seventh inning, his 100th career home run.
Bauers' homer gives Cleveland the lead
Jake Bauers home run gives the Indians a 1-0 lead vs. the Mariners.
Votto pops out to 1B for first time in 13-year career
Joey Votto pops out to first base for the first time in 6,827 plate appearances over 13 seasons in the MLB.
Reds' Votto pops out to 1B for first time in career
Reds slugger Joey Votto somehow had made 6,827 plate appearances over 13 seasons with Cincinnati without ever popping out to first base -- which he finally did in the eighth inning of Wednesday's loss at Dodger Stadium.