Madison Bumgarner delivered a pinch-hit walk-off single in the 12th inning to lift the Giants to a 5-4 win over the Padres on Tuesday night at AT&T Park. After Gorkys Hernandez led off the 12th with a triple, Bumgarner's hit ended it and snapped San Francisco's five-game losing streak. Hunter Pence homered, collected two hits and scored three runs for the Giants. San Diego's Franmil Reyes sent the game to extras with a game-tying RBI single in the ninth.