SAN FRANCISCO -- The Colorado Rockies put a forgettable weekend at Dodger Stadium behind them and started fresh.
Gray (8-5) struck out six in six innings, allowing four hits and walking two. The Rockies were coming off three straight walkoff defeats to the Dodgers in Los Angeles.
"That was a very rough series," Dahl said. "You just have to shake that off and come out and keep grinding, keep battling. We're facing some really good arms right now, good teams. You've just got to come to the park every day and forget about what happened the day before and come out ready to play."
Giants starter Drew Pomeranz matched his career high with 11 strikeouts over five innings but left trailing 2-0.
The 11 Ks were the most by a Giants pitcher throwing five or fewer innings since the mound distance was established in 1893, according to Elias. The lefty struck out the side in the first, allowing only Nolan Arenado's two-out single. Pomeranz (2-8) has 31 strikeouts in four career starts against Colorado.
The left-hander hadn't allowed an earned run over his two previous home starts -- 10 innings with 12 strikeouts -- but took his first loss to the Rockies in seven career outings and four starts, despite his sixth career double-digit strikeout game. He last struck out 11 on May 25, 2017, with Boston against the Rangers.
"It just worked out. I had a good fastball. Those guys said I had carry on my fastball. I guess that leads to strikeouts sometimes," Pomeranz said. "I just was thinking attack. I didn't want to walk guys, even though I did walk a couple guys. Some of the other guys had three-pitch strikeouts so it kind of helped balance it out."
The Giants, who had won six straight series openers, lost for the fifth time in seven games. Colorado won for just the second time in five games at San Francisco, which was shut out for the ninth time.
Alex Dickerson went 1 for 3 with a strikeout in his first home game since being acquired by the Giants from the Padres on June 10. He singled in the first then stole his first base moments later.
Colorado's Pat Valaika, in his third 2019 stint with the Rockies, was 0 for 4 with three strikeouts and is now hitless in his last 30 at-bats since a double on April 8.
San Francisco's bullpen has a 30-inning scoreless streak in the last seven home games against the Rockies.
Rockies: CF Ian Desmond was out of the lineup with what manager Bud Black would only call a "lower-half issue." When asked for more specifics, Black said he's sore on "both sides," and had no idea he was describing the condition secretively like it's done in hockey. Desmond is expected to start Tuesday night against Giants LHP Madison Bumgarner. "He's fine," Black said. ... Giants orthopedist Dr. Ken Akizuki turned up in Colorado's clubhouse postgame. "Everybody's fine," Black said.
Giants: SS Brandon Crawford and 1B Brandon Belt each got a day off, with Donovan Solano playing short and Pablo Sandoval first. Belt came in to pinch-hit in the fifth then stayed in the game playing left field. Manager Bruce Bochy also plans to give 2B Panik a break sometime in the next few games as the Giants play a stretch of 20 games in as many days. ... OF Steven Duggar is swinging a bat and doing baseball activities and should begin a rehab assignment soon as he works to return from a strained lower back.
RHP Chi Chi Gonzalez, on the taxi squad, comes up from Triple-A Albuquerque to make his 14th career start and 18th appearance. It will be his first major league start since 2016 with Texas.
Bumgarner (3-7, 4.28) looks to bounce back after allowing a season-high six runs and 10 hits in 3 2/3 innings Thursday at Dodger Stadium for his shortest outing of 2019.
More AP MLB: https://apnews.com/MLB and https://twitter.com/AP-Sports
AL West offseason preview: Can Angels land an ace?
Will Gerrit Cole end up with the Angels? Can the Astros afford to keep their team together? We answer big offseason questions for the AL West.
Twins pitcher Jake Odorizzi: Betting on self as 2020 free agent
Pitcher Jake Odorizzi said accepting the Twins' $17.8 million qualifying offer came down to "betting on myself and returning to a place I know very well and enjoyed."
Sources: Pirates hire Ben Cherington as new GM
The Pirates have hired Ben Cherington as the team's new general manager, according to multiple reports and confirmed by ESPN.
AL Central offseason preview: Francisco Lindor's future, Twins' rotation in focus
The Indians have a big decision to make about their biggest star, Minnesota needs a lot of arms and the White Sox could be on the cusp of good things.
Trout on 3rd MVP: 'I always try to be the best player'
Mike Trout joins SVP after winning the American League MVP award and says it was special to be recognized as the league's best player for the third time.
Bellinger: Winning MVP 'means everything'
Cody Bellinger joins SportsCenter after being announced as the National League MVP and describes how special the award is to him and his family.