Aromatic herbs and strongly scented alliums (garlic, onions, leeks, etc.) can all keep deer away from your garden beds. For best results, sow these plants near the exterior of your garden to discourage deer from venturing further into your beds.