Smells that deter dogs from digging include clove oil, citronella oil, and other spices. However, be careful about the kinds of spices you use, as some may be harmful to dogs if ingested.