deer in the garden

What is an effective repellent for deer who come up from the ravine and nip off flower buds and the tops of budding plants?…