TAMPA, Fla. -- Ike Davis belted a three-run homer, but the Yankees jumped ahead with five eighth-inning runs to top the Mets, 8-3, on Wednesday at George M. Steinbrenner Field in the Grapefruit League finale for both New York clubs.

"It's nice to hit a ball like that, but it doesn't count," Davis said. "I'm ready for this thing to start."

Playing the second game of a rare exhibition Subway Series, Davis connected for his fourth Grapefruit League homer off Yankees starter Freddy Garcia in the third inning. Prior to this season, the Yankees and Mets had not met in Spring Training since 1996.

"It happens -- that was a bad pitch," Garcia said of the offering hit out by Davis. "Besides that, it was pretty good. Spring Training is to get ready for the season. We start on Friday -- that's when it counts."

Mets right-hander Dillon Gee turned in a solid final start of the spring as he prepares to serve as the club's fifth starter, limiting the Bombers to a run on four hits in five innings. Gee walked one and struck out five.

Garcia permitted three runs -- all coming on the Davis home run -- and four hits in 4 2/3 innings. The right-hander walked two and struck out four in his fifth start of the spring, and he will make his regular-season debut next Tuesday against the Orioles in Baltimore.

Yankees left-hander Andy Pettitte took the mound in the top of the sixth inning to a standing ovation, making his first appearance of the spring. Cory Vaughn opened the inning with a single that chopped out of the infield, but Vaughn was caught stealing by Russell Martin.

Pettitte induced a Scott Hairston popup and a Mike Nickeas groundout to end the inning, completing his first appearance in a game since the 2010 American League Championship Series against the Rangers. He remains on track to rejoin the big league club in May.

Yankees backup catcher Francisco Cervelli tied it in the bottom of the seventh with a two-run homer, his first of the spring.

Up next: The Mets' regular season will get under way on Thursday at 1:10 p.m. ET on MLB.TV, with ace Johan Santana pitching in a Major League game for the first time since September 2010, going up against Braves right-hander Tommy Hanson.