The easy answer is to build a fence to keep the rabbits out of the garden. I’ll assume that you’re not in a situation where a fence is feasible. At Hewitt’s we have ‘Repels-All’ which is a combination of dried blood, putrescent whole egg solids and garlic oil. It can be quite effective and claims to last for ‘up to 2 months’. The reality is that it will last only until the next rain shower washes it into the soil. You’ll need to reapply after every rainstorm to remain protected. Then there’s Liquid Fence which contains fewer ingredients that Repells-All but seems to do the job for many folks. To be most effective, apply these repellents as a stronger barrier around the area to be protected rather than scattering it about everywhere. There’s also Hot Pepper Wax spray which can be sprayed on vegetable plants. Rabbits don’t like the taste at all. You may also find that a repellent works well for a few years and then seems not to work. This means that the animals have become accustomed to the repellent and it is time to switch to a different one for a few years or until the animals become used to that one. This means that you should alternate between Repells-All and Luquid Fence every three or four years.