You could revert your changeset completely or you can look at this changeset in osmcha and look at the tags of the deleted buildings to transfer them.

(Also in general, if possible it's better to update existing features with the current data rather than delete and create new. Updating features preserves their history, which can be useful if at some point in the future to look back at what changed.)