Hector Sanchez singled home the winning run with two outs in the 12th inning and the San Francisco Giants beat the Los Angeles Dodgers 3-2 Tuesday night after Brandon Belt's tying double in the ninth.
Hunter Pence had four hits for the Giants, who have won three of four.
Brandon Crawford singled off Brandon League (0-1) with one out in the 12th and advanced to second on a groundout by Brandon Hicks. His bouncer deflected off third baseman Juan Uribe to shortstop Hanley Ramirez, who threw to first for the out.
But the Dodgers were unable to get the lead runner on the play, and it cost them.