Hunter Pence hoisted a sacrifice fly to snap a 10th-inning tie Wednesday night, lifting the Giants to a 4-3 victory over the Dodgers.