Julio Teheran, who officially joined the Brewers before the game, allowed one run in five innings while six Giants pitchers combined for a shutout.