Madison Bumgarner tossed a complete-game shutout and Conor Gillaspie hit a go-ahead three-run home run in the ninth inning to help lead the Giants to the NLDS against the Cubs.