Carlos Rodon pitched six strong innings and the San Francisco Giants completed a three-game sweep of the division-leading Dodgers, beating Los Angeles 2-0.