Gabriel Aubry and Halle Berry last night struck a shocking peace deal to “move forward” from the dramatic Thanksgiving Day brawl between the model and Berry’s fiancé, Olivier Martinez.

Tensions have remained high since Calvin Klein model Aubry suffered two black eyes in the showdown with French actor Martinez as he dropped his and Berry’s daughter, Nahla, at her Beverly Hills home.

Last night, Aubry, wearing dark sunglasses to hide his ugly bruises, was back in Los Angeles family court, where high-powered lawyers for him and Berry — who did not attend the session — hammered out a truce, reports The Post’s Helen Kumari.

PHOTOS: HALLE BERRY

In a remarkable turn of events, Berry lawyer Blair Berk and Gabriel attorney Shawn Holley emerged from a closed-door hearing and declared peace in a handwritten statement: “The parties have reached an amicable agreement. There will be no further statements regarding this matter.”

A source told Page Six the “amicable agreement” refers to both the child-custody agreement and the Thanksgiving Day fight. The source said, “The agreement extends beyond the family law court.”

The move signals a strong desire from both sides to move on from the brawl that threatened to turn into an outright war. Berk and Holley work in the fields of both criminal and family law, and we’re told the two sides worked around the clock to hammer out a deal that would be in the best interests of Nahla and all the other parties to move forward.

It is not known what kind of settlement was reached, but we’re told “it would not be a surprise” if Martinez lets his criminal restraining order against Aubry expire or if the model files a motion to dismiss the restraining order.

We’re told that Aubry may not be able to work for months because of his injuries but that he’s agreed to be bound by the “amicable agreement.”

Reps for Berry and Aubry declined to comment last night.