This is why Madison Bumgarner is no ordinary 23-year-old major-league pitcher.

He had just lost a no-hit bid in the sixth inning Friday night on a Texas League single by Chris Johnson that fell among three teammates. Bumgarner's only visible reaction was a couple of big sniffs, no doubt loading up for one of his famous snot rockets.

He simply returned to work, striking out pinch-hitter Reed Johnson and getting Andrelton Simmons to end the inning with a double play. Bumgarner blanked the Braves on two hits over seven innings and earned his team-high sixth win in the Giants' 6-0 victory.

"Sometimes you see disappointment there and guys lose focus," manager Bruce Bochy said. "He got his concentration right back and made some great pitches."

Bumgarner essentially mimicked Matt Cain's two-hit outing in Thursday's 10-0 win at Pittsburgh, though with a lot more whiffing. Bumgarner struck out 10 Braves, the team with the most strikeouts in the majors besides the Astros.

In two wins against Atlanta this season Bumgarner struck out 21 of his 50 batters.

Battery mate Buster Posey, who loves hitting in the park not three hours from his hometown of Leesburg, Ga., had a great night, too. He had three extra-base hits in a game for the first time in the majors, all doubles.

Gregor Blanco started the game with a home run off Kris Medlen and hit an RBI single in the second.

The victory boosted the Giants to 4-3 on their trip with two games left, giving them a real shot to gain some momentum away from home.

The biggest takeaway from the Giants' first consecutive road shutouts since 2010 was the domination by their top two starters, which carries symbolic weight for a team whose rotation has been wanting for much of the season.

"I think we've got to start locking it in for the second half here if we want to make a playoff push," Bumgarner said. "Everybody knows that. It's time to turn it around."

Bumgarner was perfect through 14 hitters until he walked B.J. Upton in the fifth. Chris Johnson started the sixth with the weak flyball that fell for the first hit as Blanco, Hunter Pence and Tony Abreu converged.