Tim Lincecum emphatically shook off his June swoon Thursday, leading the Giants to a 2-1 victory over the Minnesota Twins in front of another sellout crowd at AT&T Park.