SAN FRANCISCO - The San Francisco Giants are suddenly in second place, and the defending World Series champion Dodgers are atop the National League ahead of a weekend visit to the Bay Area.
Sure looks like September is going to be wild out West.
Jace Peterson hit a go-ahead single in the seventh, Lorenzo Cain homered for a second straight game and the Milwaukee Brewers knocked the Giants out of the NL lead for the first time in more than three months with a 5-2 win Wednesday night.
"We just have to try to go after it and get back into that position," San Francisco manager Gabe Kapler said.
The Giants (84-49) matched their longest losing streak of the season at four and fell to second in the NL West after a San Francisco-era best 108 days on top since May 30. Los Angeles (85-49) moved ahead in the NL by holding off the Braves at home 4-3.
"This is a really good team, they've been playing great baseball all season long. It's always a battle when we play those guys, we match up really well," Cain said. "We were able to come in and take three, and that's huge. We've won the series so far."
Daniel Norris (2-3) struck out two in the sixth for the win after starter Brett Anderson exited early after being hit in the pitching shoulder by a 103 mph line drive. Josh Hader closed out the Brewers' fourth straight victory for his 29th save.
Dominic Leone (3-3) got into trouble with two outs in the seventh before Jose Alvarez relieved and gave up Peterson's hit.
LaMonte Wade Jr. doubled with one out in the eighth against Jake Cousins but San Francisco couldn't capitalize.
Kris Bryant hit an RBI double in the fifth for San Francisco. Justin Topa then intentionally walked Brandon Belt, and Buster Posey followed with a tying single.
"Any time you have a little losing streak, it’s not fun," Posey said. "This group’s shown an ability to bounce back throughout the year and that’s just what you have to believe you’re going to do."
Kevin Gausman struck out seven over five innings, allowing Cain's two-run single as one of four hits. The right-hander has three straight no-decisions but has won his last three decisions since a loss to Houston on July 30.
An injury forced Anderson out early for a second straight outing after he left his last start because of right hip tightness. Anderson wanted to keep going but said his shoulder stiffened up after the inning.
"It didn't feel great initially but Adrenalin's a hell of a thing," Anderson said. "I think I started throwing harder."
The left-hander took a scary line drive on his pitching shoulder off Brandon Crawford's bat in the second. Anderson was able to avoid taking it in the head. He was checked on then made a few tosses and stayed in the game to finish the inning before exiting.
Anderson, whose career began across San Francisco Bay with the Oakland Athletics from 2009-2013 then later returned, had lost three straight starts and is winless since Aug. 1 at Atlanta.