I expect sunshine was talking about what to spray on plants to keep bugs off, not mosquito repellant.
Most often recommended is garlic pepper spray. Blend up garlic, onion, and hot peppers in water with a little soap and a little vegetable oil to help it stick.
This has a recipe:
https://www.organicgardening.com/learn-a ... pest-spray
Please note that even though it is all ingredients from your kitchen, it can be harmful to beneficial insects as well. Don't spray your whole garden, spray where the problem is, when you see it.
Honestly, these days I don't use anything. With a ton of birds in the yard, because of the bird feeders and all my crop plants growing in mixed plantings with lots of herbs and lots of flowers in my garden that attract beneficial insects, I don't usually have major infestations of insects. Not to say there are none, just that everything stays in balance and I don't feel like I have to do something to keep from losing my crop.