DENVER (AP) — Nolan Arenado continues to be a bright spot in another disappointing season for the Colorado Rockies.

Arenado homered for the sixth straight game, but Jake Peavy doubled twice and pitched into the sixth inning to lead the San Francisco Giants past the Rockies 7-3 Saturday night.

Arenado set a Rockies franchise record for consecutive games with a home run. It matched the longest streak in the majors since Chris Davis did it with Baltimore in 2012.

Teammate Carlos Gonzalez went 0 for 3 after hitting five home runs in the previous three games. He and Arenado are tied for the NL lead in homers with 36.

"CarGo's been on such a tear, he's had all the attention," manager Walt Weiss said. "I didn't realize Nolan had hit a home run in six straight games. I knew he'd been hitting a lot of them lately. And they've been cat and mouse with each other. Just another accomplishment for Nolan in a very young career."

Peavy (5-6) doubled and scored in a two-run fifth and then had an RBI double in the sixth to give the Giants a 5-1 lead. It was the 12th multi-hit game of his career and the first time he has doubled twice.

Chad Bettis (6-5) gave up four runs and eight hits in 4 1/3 innings. He left after giving up a run-scoring double to Matt Duffy.

"The only one that I really want back is the cutter to Duffy," Bettis said. "I felt like I had pretty decent command of my fastballs all game. Just the offspeed was kind of lacking."

Angel Pagan and Gregor Blanco went deep for the Giants, who had 15 hits.

Peavy was cruising until the sixth when the Rockies closed the gap. Jose Reyes, who had two hits and an RBI, singled and took second on an error by Blanco. Peavy struck out Carlos Gonzalez but Arenado's homer to left made it 5-3.

Arenado tied Gonzalez for the NL lead with the homer. Nine of his home runs have come against the Giants.

Peavy allowed three runs and four hits and struck out five in 5 2/3 innings.

"He pitched in well and he elevated well," Weiss said of Peavy. "He used his cutter. He'd back door it to lefties and run it away from righties. Commanded his stuff but pitched well with his fastball and his cutter primarily."

The Giants got the runs back in the seventh on Blanco's homer and a bases-loaded walk by reliever Scott Oberg.

Pagan hit his first home run of the year in the third. Bettis singled and scored on Reyes' triple in the bottom of the inning to make it 2-1.

The Giants used a makeshift lineup due to injuries. First baseman Brandon Belt (stomach illness) was out, outfielder Nori Aoki didn't play because of concussion symptoms and backup catcher Andrew Susac returned to San Francisco to have his sprained left wrist examined.

TRAINER'S ROOM

Rockies: OF Corey Dickerson (rib fracture) played seven innings in a rehab assignment with Triple-A Albuquerque. He could rejoin the team in San Diego on Monday.

UP NEXT

Giants: LHP Madison Bumgarner (16-7, 2.96) is 10-6 with a 3.09 ERA in 21 career games against the Rockies.

Rockies: RHP Yohan Flande (3-1, 4.04) has won his last three decisions. He didn't record a win in his first 24 major league appearances before notching his first June 28.