Giants 8, Braves 3

How the game was won: Shelby Miller sat in the dugout after seven innings in line for his first win since May 17. He allowed two runs on just four hits while striking out three. Braves’ bats backed him up and took the lead 3-2 in the bottom of the seventh.

Then Ross Detwiler entered the game in the eighth and allowed a leadoff double to Gregor Blanco. David Aardsma replaced Detwiler and didn’t fare any better. Matt Duffy sliced an RBI double to right, ending Miller’s chance at a win, and Hunter Pence crushed a three-run home run two batters later.

The Giants plated two more runs in the ninth off of Ryan Kelly.

Miller is 5-9 with a 2.44 ERA.

Number: 79. After Tuesday, the number of days that have passed since Miller last won a game on May 17. Atlanta sat one game below .500 at 18-19 after his complete-game shutout that day.

What’s next: Williams Perez (4-1, 4.14 ERA) takes the mound after allowing nine runs in 4 1/3 innings Friday. He’ll start opposite San Francisco’s Madison Bumgarner (11-6, 3.39 ERA) in the series finale.

Support real journalism. Support local journalism. Subscribe to The Atlanta Journal-Constitution today. See offers.

Your subscription to the Atlanta Journal-Constitution funds in-depth reporting and investigations that keep you informed. Thank you for supporting real journalism.