O'Neal had 23 points and 13 rebounds while Green totaled 18 and 10 for the Warriors, winners of three straight.
Stephen Curry had 17 points, eight assists and five rebounds.
Deron Williams paced the Nets with 20 points and six assists. Brooklyn lost for the second time in five games.
Senate Democrats to pull all-nighter on climate change
Susan Sarandon 'very excited' about daughter's pregnancy