Heliot Ramos hit a tying two-run double in the seventh then Jung Hoo Lee followed with a sacrifice fly that put San Francisco ahead, and the Giants rallied to beat the San Diego Padres 6-5 on Wednesday night. San Francisco ended a stretch of 16 straight games scoring four or fewer runs. Gavin Sheets hit a two-run triple in the first then singled in two more runs in the fifth for San Diego, which had a pair of 10-inning wins to start the four-game series.