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
Is MLB's proposal the first step to playing ball in 2020 -- or the beginning of the end?
The owners' opening pitch was a swing-and-miss with the players, raising real doubt about MLB's potential return.
Lotte Giants pitcher Lee Seung-heon released from hospital
Lotte Giants pitcher Lee Seung-heon, who was struck in the head by a line drive May 17, was released from the hospital Monday, a team spokesperson told ESPN. Seung-heon is expected to rejoin the team for rehab after a month of rest.
Former Braves catcher Biff Pocoroba dies at 66
Former All-Star catcher Biff Pocoroba, who played all 10 seasons of his career with the Braves, has died at the age of 66. He had a .257 batting average and caught 26% of baserunners attempting to steal over his career.
Roy Halladay's final flight
On Nov. 7, 2017, Roy Halladay's amphibious aircraft crashed into the Gulf of Mexico off the West coast of Florida. This visualization depicts the moments before the Hall of Fame pitcher's death.
This home run is so absurd you have to see it to believe it
Renaud Lefort steps to the plate and launches a home run swinging behind his back.
How half a season of fantasy baseball could impact your players' outlooks
Will someone hit .400 or complete the Triple Crown in a shortened season? Who will lead the league in homers and steals? Bradford Doolittle and David Schoenfield make their picks, and Eric Karabell breaks down the fantasy impact.