Aaron Rowand tripled leading off the seventh and scored the go-ahead run moments later on Blake Hawksworth's wild pitch, and the Giants beat the Dodgers 5-4 on Tuesday night.