SAN FRANCISCO (AP) 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.
Brandon Belt then doubled in a run and Evan Longoria walked before Dickerson lined into a double play.
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."