Trevor Brown hit a pair of two-run homers, Jeff Samardzija tossed eight solid innings to get his first win for San Francisco and the Giants beat the Colorado Rockies 7-2 on Tuesday night.
Hunter Pence also hit a two-run home run to help San Francisco win for the fourth time in the last five games.
Brown, starting at catcher in place of banged-up Buster Posey, hit a two-run homer off starter Tyler Chatwood (1-1) in the sixth and another off reliever Jason Gurka in the eighth.
It was Brown's first multihomer game of his career, and his four RBIs were also a career high. His only other home run this season broke up a no-hit bid in the eighth inning against Chris Hatcher of the Los Angeles Dodgers on Friday.
Samardzija (1-0), who signed a $90 million, five-year contract in the offseason, tamed hitter-friendly Coors Field by scattering eight hits and striking out five.