Diamondbacks manager Kirk Gibson sensed frustration out of his second baseman, so in the late innings on Friday night he told Aaron Hill something he tells his players somewhat regularly during games.

Gibson told him he was going to deliver the game-winning hit.

"I don't know if I believed him at the time," a smiling Hill said after his two-run single in the 12th inning helped make 4-2 winners of the Diamondbacks, who snapped a six-game losing skid at Dodger Stadium on Friday night.

"He knew I was frustrated a little bit. It just picked me up a little bit. I appreciated it."

This was a night with a lot of pick-me-ups, from Hill's big hit to Wade Miley's start to newly minted reliever Trevor Cahill's first career save. The Diamondbacks needed it all to improve to 5-14 and beat the Dodgers for the first time in six games this season.

"It's been a while since we played a game like that," Gibson said. "We played good."

Hill isn't the only Diamondbacks player to be getting fed up with his team's current state of affairs. The starting rotation has been in shambles. The lineup couldn't deliver big hits. Even the bullpen had been coughing up leads at inopportune times.

Their performance on Friday night wasn't perfect – closer Addison Reed had his second (and the Diamondbacks' fourth) blown save of the season – but in many ways this was the kind of game they expect out of themselves every night.

And they did it against a Dodgers team that beat them twice in Australia before sweeping them at Chase Field last weekend.

"We played solid," said catcher Miguel Montero, who gave the Diamondbacks a 1-0 lead in the sixth with a solo shot off Dodgers right-hander Zack Greinke.