SAN FRANCISCO -- It took Mike Leake five starts to earn his first win with Arizona. What matters most to him right now is taking his success from Tuesday night into September and through the final month.
Leake pitched into the eighth inning, leading the Diamondbacks to a 3-2 victory over the San Francisco Giants.
"I hope to have this one continue and have it be kind of a repetitive thing and a consistent thing," Leake said. "We only have about a month left to kind of prove ourselves here, so we're going to need more of this."
Ketel Marte homered in the fifth for Arizona, but came up limping as he ran the bases and left because of a cramp in his right hamstring. He received treatment and expects to play Thursday after the team's day off.
Marte's single in the third gave him a 10-game hitting streak and career-best 21-game streak safely reaching base. He hit his 28th homer with a drive over the center-field wall.
Adam Jones hit a go-ahead single in the sixth off Sam Coonrod (4-1), and Christian Walker added an RBI single the next inning as Arizona won the season series 10-9 and went 7-2 on the Giants' home field.
Leake (10-10) won his fifth start since coming over in a trade with Seattle on July 31. He improved to 6-2 in 13 appearances against the Giants.
Stephen Vogt put San Francisco ahead with an RBI single in the first, but the Giants did little else against Leake. After Alex Dickerson's two-out single in the third, Leake retired his next 14 batters before Mike Yastrzemski's one-out walk in the eighth chased the right-hander.
"He got into a great run doing the things that he knows how to do best and kept turning over the lineup," manager Torey Lovullo said.
Giants starter Jeff Samardzija has allowed one or fewer runs in four of his last five home starts. He gave up one run and three hits in five innings.
"We're just waiting to get hot," Samardzija said. "We're right there and we need to figure out how to flip it so we come out on the right side."
Archie Bradley got three outs for his ninth save and Arizona won the season series for the third time in five years -- also in 2015 and `17.
Diamondbacks: LF David Peralta has decided to undergo season-ending right shoulder surgery after landing on the injured list for a third time this season because of the recurring injury. Peralta, who hadn't played since Aug. 23, is scheduled to undergo a cleanup procedure Friday for inflammation in the AC joint. Peralta is expected to be ready for spring training 2020. ... RHP Luke Weaver (forearm tightness) is scheduled to throw a bullpen Friday and if all goes well the next step will be a simulated game sometime next week.
Giants: RHP Johnny Cueto will make one more rehab start with Triple-A Sacramento, likely Saturday, and if all goes well his next step will be a start for the Giants after missing all season recovering from Tommy John surgery. ... RHP Trevor Gott was placed on the 10-day injured list with a Grade 1 sprain of the flexor tendon and ulnar collateral ligament. Manager Bruce Bochy expects him to be shut down for two weeks but be OK to pitch again this season. Team orthopedist Dr. Ken Akizuki was scheduled to read the MRI exam.
The Giants placed second baseman Scooter Gennett, the guy they kept over Joe Panik, on unconditional release waivers as they made room for Mauricio Dubon. The touted prospect was recalled from Sacramento and will give Brandon Crawford some breaks at shortstop.
Submarine righty Tyler Rogers made his major league debut in the eighth after having his contract selected from the River Cats. He at last got his chance in the big leagues like identical twin brother Taylor -- he's left-handed, however -- on the Twins pitching staff. Rogers spent seven years in the minors before his callup.
Taylor was his first call, only fitting since Tyler got the first call when his twin was promoted.
Rogers is eager to see how he fares at the highest level.
"We'll trust the stuff and roll with it," said Rogers, whose parents planned to be at the ballpark.
Arizona has a day off Wednesday before right-hander Merrill Kelly (9-13, 4.86 ERA) pitches the series opener at home against the Dodgers.
The Giants have an off day Wednesday with their Thursday starter vs. San Diego still listed as to be determined.
More AP MLB: https://apnews.com/MLB and https://twitter.com/AP-Sports
Should the Indians trade Francisco Lindor now or later?
It's not a question of if. Here are the pros and cons of each window that the Indians have to deal their superstar -- and why what Boston does with Mookie Betts might shape their decision.
2019-20 MLB free agent class superlatives: The player most likely to ...
Gerrit Cole might get a historic deal, but which available starter could be a steal? And which slugger could put a team over the top?
Union chief's rebuke of GM heats up baseball's cold war over free agency
Tony Clark's criticism of Braves exec Alex Anthopoulos was the latest labor skirmish for players facing another slow burn on the hot stove.
Angels retain hitting coach Jeremy Reed, finalize Mickey Callaway's hiring
The Los Angeles Angels have finalized new manager Joe Maddon's coaching staff for the 2020 season, including the retention of hitting coach Jeremy Reed and the hiring of new pitching coach Mickey Callaway.
MLBPA launching probe into team coordination in free-agency process
Tony Clark, head of baseball's players' union, said the union is launching an investigation after Braves general manager Alex Anthopoulos said he has spoken with other teams to discuss their plans in free agency.
Giants narrow manager search to 3 finalists, per reports
Former Phillies manager Gabe Kapler, Astros bench coach Joe Espada and Rays bench coach Matt Quatraro are the final three vying to replace Bruce Bochy as Giants manager, according to multiple reports.