Moses
Deuteronomy 20:19ESV·traditional attribution

“When you besiege a city for a long time, making war against it in order to take it, you shall not destroy its trees by wielding an axe against them. You may eat from them, but you shall not cut them down. Are the trees in the field human, that they should be besieged by you?

John Calvin Reformed @genevareformer

19. When thou shalt besiege a city a long time. I have not hesitated to annex this precept to the Eighth Commandment, for when God lays a restraint on the liberty of inflicting injuries in the very heat of war, with respect to felling trees, much more did He desire His people to abstain from all mischievous acts in time of peace.

Matthew Henry Presbyterian @wholebiblehenry

They are here directed what method to take in dealing with the cities (these only are mentioned, Deu 20:10, but doubtless the armies in the field, and the nations they had occasion to deal with, are likewise intended) upon which they made war.

Commenting on Deuteronomy 20:10-20

John Gill Reformed Baptist @doctorgill

When thou shalt besiege a city a long time, in making war against it to take it,.... Before it will surrender; it holding out the siege a considerable time: the Hebrew text says, "many days" (c); which the Targum of Jonathan interprets of all the seven days, to make war against it, in order to subdue it on the sabbath day.