Closer Brian Wilson recorded his first save of the season after starting the year on the disabled list as San Francisco earned a comeback win in front of their home crowd.
"These games lift you up more than games where you're coasting 8-0," Giants starter Tim Lincecum told reporters. "The crowd is different. The emotions are different."
Lincecum, a two-times Cy Young Award winner, surrendered all three of his allowed runs in the fourth where San Francisco fell behind 3-0.
The Giants (5-6) stormed back to take the lead after scoring two runs in the bottom of the fourth and fifth innings
Buster Posey had RBI singles in each inning and finished 3-for-4 while Rowand added an RBI in the fifth.
Los Angeles (6-5) entered the game having won four of five meetings with the defending World Series champions this year.
Red-hot Matt Kemp led off the scoring with an RBI double and had two hits to raise his batting average to .472.
Dodgers starter Chad Billingsley struck out six batters and allowed four runs in five innings of his no-decision. (Writing by Jahmal Corner in Los Angeles; Editing by Peter Rutherford; to query or comment on this story email email@example.com)