ATLANTA — The Braves are making a habit of winning games in their last at-bat. They've done it more than any team in the majors.
Matt Kemp hit a two-run homer off Cory Gearrin in the 11th inning to lift Atlanta to a 5-3 win over the San Francisco Giants on Wednesday night.
The homer, the third of the game for Atlanta, was Kemp's seventh game-ending shot of his career.
Matt Adams hit a two-run homer and Tyler Flowers also homered off Jeff Samardzija.
It was the Braves' 12th win in their final at-bat, the most in the majors.
"Like I keep saying, they never quit," said Braves manager Brian Snitker. "They just grind through games. They keep coming at you."
Gearrin (1-2) walked Nick Markakis with one out before Kemp's homer barely cleared the right field wall. He found a circle of teammates waiting to celebrate at home plate.
Braves Sean Newcomb, who gave up one run in six innings, was denied his first win when Hunter Pence's homer off Braves closer Jim Johnson tied the game at 3-3 in the ninth. It was Johnson's fifth blown save in 18 chances.
Luke Jackson (2-0) pitched the 11th for the win.
The Giants, who snapped a seven-game losing streak by beating the Braves 6-3 on Tuesday night, have lost 10 of 12. They have not won two straight road games since May 19-20 at St. Louis and they fell to 1-6 on their eight-game road trip.
"It's another tough loss for us," said Giants manager Bruce Bochy. "It's our third comeback on the road trip and we've lost them all."
Adams has flourished in what was intended to be a fill-in role at first base while Freddie Freeman recovered from a fractured left wrist. Freeman said Wednesday he plans to play third base when healthy to keep Adams' bat in the lineup.
Brandon Belt's triple into the right-field corner off Newcomb drove in Pence for a 1-0 lead in the second.
Denard Span tripled off Arodys Vizcaino with one out in the eighth and scored on Vizcaino's wild pitch to Brandon Crawford.
Newcomb retired his final 13 batters and allowed one run on three hits in six innings. He was pulled after throwing 80 pitches.
"I understood," Newcomb said. "There were some righties coming up I had already seen two or three times."
Samardzija allowed three runs on six hits in seven innings. He had eight strikeouts.
Giants: A MRI revealed inflammation in 3B Eduardo Nunez's left hamstring. He will test the hamstring on the field on Friday in San Francisco and could land on the DL if there is no improvement. He has tried to play through hamstring discomfort most of the season and has missed four of the last five games. ... LHP Madison Bumgarner (left shoulder) threw 35 pitches over two innings in his second simulated game. He is scheduled to throw three innings in a rookie league game on Sunday.
Braves: Freeman (fractured left wrist) hopes to be cleared to hit following a CT scan on Friday. Freeman took grounders at third base and said he is targeting July 14 against Arizona as his first game off the DL.