Andrew McCutchen hit a three-run homer to cap a 12-pitch at-bat in the 14th inning, giving him a career-high six hits and the San Francisco Giants a 7-5 victory over the Los Angeles Dodgers on Saturday night.
McCutchen fell behind Wilmer Font 1-2 before fouling off seven pitches. He then turned on a 2-2 pitch and drove it into the seats in left field, scoring Kelby Tomlinson and Joe Panik, who both singled off Font (0-2).
McCutchen drove in four runs and raised his batting average from .083 to .258. The 2013 NL MVP got a hearty ovation from Giants fans for the walk-off blast, his first big moment with San Francisco since being acquired from Pittsburgh in an offseason blockbuster.
"Finally showed up today. Finally," McCutchen said. "It's only what, Game 7, but when you're not getting hits, it feels like it's forever. Feels good to show up today and do the job."
Buster Posey also homered for the Giants, who wasted leads of 1-0, 3-1 and 4-3 before winning on McCutchen's shot. Panik added three hits and Austin Jackson had two.
Roberto Gomez retired three batters for his first major league win. The Giants emptied their bullpen by using nine relievers.
"They kept us in the ballgame," McCutchen said.
The Dodgers had taken a 5-4 lead in the top of the 14th when Logan Forsythe singled in Yasiel Puig.
The game lasted 5 hours, 16 minutes after beginning two hours later than originally scheduled due to heavy rains that forced the postponement of Friday's game. It was the sixth rainout in AT&T Park history and the first since 2006.
Dodgers skipper Dave Roberts was down to one reliever when the game ended. Roberts also used two starting pitchers, Clayton Kershaw and Hyun-Jin Ryu, as pinch hitters.
Chase Utley homered, Corey Seager had two hits and reached base five times, and Cody Bellinger added a pair of singles for Los Angeles.
The Dodgers are 2-6, matching their worst start since 1976.
Utley homered in the seventh, his first of the season.
Posey's home run off starter Rich Hill was the first of the season for the Giants cleanup hitter and first since Aug. 8, 2017.
Dodgers: RHP Josh Fields pitched a scoreless inning after being reinstated from the paternity list before the game. RHP Zach Neal designated for assignment after originally being optioned to Triple-A Oklahoma City. The change was made after the team claimed RHP Alec Asher off waivers from Baltimore.
LHP Clayton Kershaw (0-2, 2.25) of the Dodgers faces LHP Ty Blach (1-1, 5.79) on Sunday in a rematch of opening day starters. Kershaw lost the first round despite allowing one run over six innings while Blach owns a career 1.41 ERA against Los Angeles.