Free agent forward Danilo Gallinari has agreed to sign with the Bucks for the rest of the season, his agent told LS’s Adrian Wojnarowski on Thursday.