SAN FRANCISCO Gio Gonzalez pitched into the seventh inning to win for the first time in more than a month, and the Washington Nationals beat the San Francisco Giants 6-3 on Tuesday night.