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.
Examining surprising Hall calls for Harold Baines, Lee Smith
While Lee Smith is third on the all-time saves list, Harold Baines' Hall nod is a head-scratcher, considering that he never finished higher than ninth in MVP voting.
Harold Baines, Lee Smith elected to Baseball Hall of Fame
Chicago won the day in Las Vegas, as Harold Baines and Lee Smith were chosen for enshrinement in Cooperstown. The Hall of Fame's Today's Game Era Committee selected them at baseball's winter meetings.
Complete guide to baseball's winter meetings
Who's ready to bet big on Bryce Harper or Manny Machado? Which teams are looking to wheel and deal? We tell you what might go down in the desert.
Former Cubs, Red Sox hitting coach Chili Davis hired by Mets
Chili Davis has been hired as hitting coach of the New York Mets after spending last season in that role with the Chicago Cubs.
Olney: Carrasco's surprising extension changes Indians' plans
The Indians head to the winter meetings ready to shop a starting pitcher, but one veteran found a way to take himself off the block.
Mike Napoli, who made three trips to World Series, announces retirement
Veteran Mike Napoli announced Saturday that he is retiring from baseball, ending a 13-year career highlighted by three trips to the World Series.