SAN FRANCISCO (AP) — Logan Webb threw 7 2/3 shutout innings, Grant McCray had his first career hit and home run, and the San Francisco Giants beat the Atlanta Braves 6-0 on Thursday to avoid a sweep.