San Diego, CA – David Wright hit a three-run homer to back 6 3, in the rubber match of a three-game series.
Gee (11-4) allowed just one run on five hits and four walks while fanning five to earn the win.
Angel Pagan had three RBI for the Mets, who won a series in San Diego for the first time since 2002.
Mat Latos (6-12) allowed three runs on four hits over six innings to suffer the loss. He struck out six and walked two.