Pitching in the majors for the first time since undergoing Tommy John surgery, Giants right-hander Johnny Cueto gave up just one hit in five innings on Tuesday.