LOS ANGELES (AP) - Ryan Vogelsong pitched into the eighth inning for the first time this season, Brett Pill hit a two-run homer off Clayton Kershaw and the San Francisco Giants defeated the first-place Los Angeles Dodgers 2-1 Tuesday night, ending a streak of 12 straight winning decisions at home by the reigning NL Cy Young winner.
Kershaw hadn't lost at home since April 16, 2011, against St. Louis. The Giants snapped an 0-6 skid against the left-hander with their first win since Aug. 1, 2010.
Vogelsong (1-2) allowed one run and eight hits in 7 1-3 innings. The right-hander walked three and struck out one.
The Dodgers loaded the bases against Vogelsong in the bottom of the eighth inning. Pinch-hitter Bobby Abreu walked, Dee Gordon reached on a bunt single to Vogelsong, and Mark Ellis had a sacrifice bunt. Vogelsong intentionally walked Matt Kemp before turning it over to Javier Lopez, who got Andre Ethier to ground into a double play - one of four the Giants' defense turned a night after committing three errors.
Lopez got the first two outs in the ninth and Santiago Casilla retired Juan Uribe for his sixth save in seven attempts.
Kershaw (2-1) had his career-best 10-game overall winning streak end. He gave up two runs and five hits in eight innings, struck out seven and walked one.
Pills homered over the left field wall on his first pitch from Kershaw in the second inning, scoring Buster Posey who led off with a single. Pill's homer ended a six-game drought for the Giants, and was just their second in their last 10 games.
The Dodgers' run came on James Loney's RBI double in the bottom of the second. It was the fewest runs they scored in a loss since a 12-0 defeat at Houston on April 22.
NOTES: Kershaw came within a win of tying Carl Erskine for the longest home winning streak in franchise history. ... Former Dodgers 3B Casey Blake retired Tuesday. The 38-year-old spent spring training with Colorado, but was released in late March and attracted little interest from other teams. Blake played parts of four seasons in Los Angeles, although last season was interrupted by three stints on the DL and neck surgery. Dodgers manager Don Mattingly says he could see Blake working as a major league coach. ... Dodgers INF Jerry Hairston missed his second straight game with a strained left hamstring.