Tim Lincecum allowed one hit and one walk over eight shutout innings and the Giants salvaged a series split against the Brewers with a 4-1 win.