ATLANTA - Back-to-back shutout wins have reminded the Giants they expected to lean on strong starting pitching to defend their World Series championship.

That hasn't always been the case and Madison Bumgarner said it's a good time for the staff to get more consistent.

Bumgarner allowed two hits in seven innings and combined with Sandy Rosario for a three-hit shutout in the San Francisco Giants' 6-0 victory over the Atlanta Braves on Friday night.

The win came one day after Matt Cain was similarly dominant in leading San Francisco to a 10-0 shutout of the Pirates.

The consecutive shutouts are highlights in an overall slow start for the staff. Bumgarner (6-4) and Cain (5-3) each moved two games over .500 with the latest wins. Tim Lincecum is only 4-6 and Barry Zito is 4-5.

"We're all just not catching any breaks right now," Bumgarner said. "We've all got to start locking it in. We're coming up on the second half here. If we want to make a playoff push, I think everybody knows it's time to turn it around."

Bumgarner was dominant in earning his second straight win.

The left-hander did not allow a baserunner for 4 2/3 innings before losing his bid for a perfect game in the fifth and shot at a no-hitter in the sixth.

Bumgarner matched his season high with 10 strikeouts while walking one.

"He really has been consistent all year, but this was up there as one of his best starts," Giants manager Bruce Bochy said.

Atlanta's Kris Medlen (3-7) lasted six innings and gave up four runs on nine hits, including a homer by Gregor Blanco to lead off the game. The Giants had five doubles off Medlen.

Bumgarner said he never thought Blanco's leadoff homer would provide the only run he would need, especially after he didn't feel sharp when warming up before the game.

"No, not against a team like this," Bumgarner said.