Before Ragnar, I had outside dogs-Labradors. They would dig, dig, and dig. Wide holes, deep holes--holes were everywhere as if my back yard were an artillery range.
I tried everything--putting poop in holes, moth balls, cayenne pepper, filled holes with water, admonished them in the act of and put on e-collar and zapped them in the act. Putting poop and other ingredients worked for that hole-they would just dig somewhere else. Even tried what Bri suggested with having their own digging area, nothing worked...
I asked an old man one time how to get them to stop digging and he told me there were only two ways to stop an outside patterned digger. 1. Put them on a concrete slab 2. Use a bullet. Harsh this old man was, but he was serious.
When I got Ragnar, this was one thing that I was going to make sure did not become a habit. He was initially supervised for all outside visits and as Kaiser2016 stated, if he did start digging, I stopped it immediately with a forceful "no" and immediately redirected with a tug rope or a squeaky toy.
I also file his nails weekly with a Dremmel tool so he does not have nails to dig with.
GG and Drogon make good points. If you leave her alone unsupervised, she will find something that is fun to her. You have to supervise and keep her busy all the time or else somehow or another she will make her own bad habits. "Battle to keep her busy" is a good way to put it.
Ragnar is boundless with energy all the time. Thankfully, I have prevented and he has not created the habit of digging. It is an absolute PIA to mow the yard on an artillery range!!!
So some solutions are:
1. Supervise when outside
2. Stop behavior in tracks and redirect.
3. Clip/grind nails
4. Keep her busy to where she would rather train/play with you.
5. Break the habit now while she is young.
Yes, this takes ALOT of your time and energy. I say it all the time to people who ask me-how do I like having a Doberman? It is like having a baby in/out of the house, you always have to have eyes on them unless he is in the crate.
The best way to stop anything unwanted is to diligently prevent it from starting in the first place. Always have to have eyes on.....