We all know the famous story of Peter Rabbit and how he sneaks into Mr. McGregor's garden to eat as many vegetables before Mr. McGregor chases him out.
We also know the saying "Wascally Wabbits" said by the famous cartoon character Elmer Fudd whose aim is to hunt rabbits but most of the time ends up hurting himself. However, I do not suggest chasing rabbits around in your backyard with a shotgun.
Here are some tips you could use (besides chasing them out or hunting them down) that will help keep your garden beautiful and rabbit free.
Rabbits like to live in areas that are inhabited by bushy fences or rows or on edges of fields. They prefer certain plants such as peas, beans, and beets. They also tend to shy away from squash, cucumbers, tomatoes, peppers, and potatoes.
The absolute best way to keep rabbits away from your garden is to build a fence. A good height would be around two feet and make sure you bury the fence into the ground a few inches because rabbits are more likely to go under the fence than above it. And also make sure that the fence openings are not to wide that the rabbit can squeeze through. (it should look something like the picture below) You could also use circle wire and wrap each individual plant. You can also sprinkle vinegar, hot pepper flakes, or liquid chile spray on and around your plants. Another suggestion would be to soak corn cobs in vinegar for about five minutes and place them throughout your garden. If you continue to do this make sure you periodically soak the cobs so they don't lose their effectiveness.
One last suggestion would be to plant clover around your garden because rabbits would rather eat that than any plant you offer.
Good luck with your wabbits...!!!