NEW YORK — For the first time in 13 days, the Giants got to perform the simple and enjoyable act of shaking hands on the field.
Trevor Brown and Mac Williamson teamed up to bring in the go-ahead run in the top of the 12th inning at Yankee Stadium and the Giants held on for a 2-1 win, snapping a six-game losing streak. The victory was their first since Madison Bumgarner ended the first half with a Sunday night win at AT&T Park.
Near the end of a game that was bizarre at times, Brown hit a double to lead off the 12th. Williamson singled two batters later, finally providing the big hit that has been missing for this team for an entire road trip.
A day after they left 10 on base, the Giants found new and creative ways to keep from scoring in the early innings. They put runners on the corners with one out in the first against Ivan Nova, but Buster Posey’s screamer to right was hit directly at Aaron Hicks. Brandon Crawford followed with a liner to left, but Brett Gardner made a diving catch.
With Williamson on first in the following inning, Ramiro Peña hit a two-out flare to left-center. Williamson was thrown out by a couple inches, with a pair of good but flat-footed throws getting him. That inning also included Conor Gillaspie missing a two-run homer by about a dozen feet. The Giants again put runners on first and third to open the next inning. But Brandon Belt struck out and Posey bounced into a double play.
The Yankees were also piling up the stranded runners, but they broke through against Johnny Cueto in the fourth. With Didi Gregorius on first, Mark Teixeira hit a single down the right field line. It got past a charging Williamson and Gregorius raced around for the day’s first run.
Williamson made up for the mistake minutes later, blasting a solo shot into the visiting bullpen to tie the game.
The bullpens took the game into extra innings. Grant Green led off the 10th with a double off Aroldis Chapman, but the closer struck out Williamson and Peña on 103 mph pitches and got a flyout from Denard Span.
In his second inning of work, Josh Osich walked Aaron Hicks to kick off the 10th and then threw a wild sinker that ticked off Posey’s glove and went to the backstop, allowing Hicks to take second. Santiago Casilla entered with two on, and after a sacrifice and intentional walk, the bases were loaded for Brian McCann, who popped up the first pitch. Starlin Castro flied out to right.
Angel Pagan got to third with two outs in the 11th and the Yankees elected to intentionally walk Crawford. The first pitch sailed to the backstop, but Pagan wasn’t paying close attention and he didn’t take off. Dellin Betances then changed course, pitching to Crawford and getting a groundout. On the top step of the dugout, Bruce Bochy stared angrily at his left fielder.
A few minutes later, the manager would be smiling.
Starting pitching report: A day after Bumgarner threw 115 grueling pitches, Cueto tossed 117 in six innings. The lone run was unearned. He struck out five of the last six Yankees he faced, and nine on the day.
Bullpen report: Javier Lopez is back.
At the plate: Williamson’s homer was his third of the road trip and sixth of the season.
In the field: The Giants made two more errors, both in the outfield. They have 12 in the last eight games. Cut that in half and it would still be too many.
Attendance: The Yankees announced a crowd of 46,727 human beings who spent the afternoon googling “heat dome.”
Up next: Jeff Samardzija, who was supposed to start Saturday and then wasn’t, will start. The Yankees turn to hard-thrower Nathan Eovaldi.