SAN FRANCISCO -- Tim Lincecum needed a psychological boost. When he got it, his fastball command returned.
"I wasn't worried about what would happen when I threw pitches," said the two-time Cy Young Award winner. "It was just confidence. Early in the game, when I was commanding the zone, I just opened my mind to be that much more confident."
|More on Twins at Giants|
Michael Cuddyer extended his hitting streak to 12 games with three hits and RBI for Minnesota, which lost its second in a row after a season-best eight-game win streak. The Twins are 15-4 since their last losing rut.
Lincecum (6-6) rebounded from a rash of poor starts. He gave up three hits, walked two and never allowed a runner past second base.
"Even when I threw a bullpen I wanted to have belief in myself," Lincecum said. "I wanted that to carry over into games. I was executing my pitches and believing in what I threw at the moment."
Brian Duensing (4-7) allowed just his sixth earned run in his last 22 2/3 innings. He yielded six hits, walked two and struck out five.
"A very good pitching matchup," Twins' manager Ron Gardenhire said. "They just pitched a little better. That's the Duensing we were looking for. He was consistent and has good stuff."
Lincecum entered the game with the worst NL ERA (7.59) in June. He threw 72 of his 109 pitches for strikes in one of his most effective starts. He won for the first time since May 27.
"Timmy was outstanding," Giants' manager Bruce Bochy said. "It was good to see him back on track. He was comfortable throwing any pitch and he had good rhythm."
Duensing and reliever Alex Burnett got the Twins out of a tight spot in the seventh. The Giants had runners on first and third with no outs and failed to score after pinch-runner Emmanuel Burriss was caught trying to score on a safety squeeze and pinch-hitter Nate Schierholtz grounded sharply to second with the infield in.
"That guy was filthy," Duensing said of Lincecum. "That's how you win Cy Young awards. He has really good stuff, gets ahead in the count a lot and made us chase a lot."
Ross added an RBI single in the eighth against Glen Perkins.
- Bochy said there would "be a little bias" when it came to All-Star roster additions when asked about RHP Ryan Vogelsong.
- The Twins plan to activate INF Jim Thome and RHP Joe Nathan before Friday's game in Milwaukee.
- Giants OF Andres Torres and SS Brandon Crawford were given the day off and both are likely to start Friday.
- Twins C Joe Mauer (sore back) and IF Tsuyoshi Nishioka (sore hamstring) were held out of the starting lineup.
- Giants IF Mike Fontenot (right groin strain) could start a rehab assignment this weekend.
- Twins OF Denard Span (concussion) may start hitting again when the team arrives in Milwaukee.
- Cuddyer has eight doubles over his last 12 games.