DENVER -- Brad Hawpe singled in the game-winning run with one out in the ninth inning to lift Colorado to a 6-5 victory over the San Francisco Giants on Tuesday night.
With their third win in a row and fifth victory in six games, the Rockies improved to a season-high six games over .500. Colorado remained four games behind Arizona in the wild-card race and is four games behind San Diego in the NL West.
Todd Helton and Garrett Atkins drew one-out walks from Brad Hennessey (2-4). With Jamey Carroll running for Helton, Hawpe drove a 2-2 fastball into the gap in right field to score Carroll.
Former Modesto Nut Manny Corpas (4-2) worked a perfect ninth for the Rockies.
Never miss a local story.
Helton was 3-for-3 with two walks and an RBI double and Troy Tulowitzki, another ex-Nut, hit a solo homer, his 19th, for Colorado.
Randy Winn went 2-for-4 with three RBIs for the Giants, who lost their fourth straight.
Giants starter Tim Lincecum allowed three runs and seven hits in three innings.
Reliver Brian Wilson and Giants manager Bruce Bochy were ejected in the eighth inning after Wilson hit Yorvit Torrealba with a pitch.
Rockies manager Clint Hurdle didn't show any patience with young starter Franklin Morales, pinch-hitting for him in the bottom of the third inning. The former Modesto pitcher was roughed up for five runs and five hits.