With all the time and effort expended in creating and caring for a garden, it can be discouraging to look down and see ants marching through it. These tiny invaders come in large numbers and take over an area with ease. While dousing them with pesticides would surely do the trick, it would also render all of your hard work inedible and cause problems for neighborhood animals. Getting rid of them safely requires just a little more effort, but in the end it's more than worth it.
Locate the source of the ants and place an upside down flower pot on top of their home. Pour boiling or scalding hot water down the flower pot's drain hole that is now facing up. This will kill off many ants and send a message to survivors that this isn't a good place to live. This may take several applications to get through to stubborn ants.
Sprinkle dry grits all around your garden so that ants will take the "free meal" home. When they consume the grits for dinner they won't be able to digest it and many will die. If the queen eats it and dies, the colony will be forced to move on.
Cut oranges into wedges and place them around the garden. Ants will climb all over the orange pieces which birds will fly down and scoop up taking your ant problem with them.
Dig up their anthill and place a piece of dry ice into it. Use a long handled shovel and be sure to push the ice down into the hole you have dug firmly before covering it back up. The freezing temperature will kill of the queen and many of her colony.
Douse the ants with soapy water. Dish soap is bad for ants, but not for your garden. You can even pour soapy water onto their anthill to scale back the ant population. Keep a spray bottle handy with soapy water in it to spray onto ants you find in your garden to kill them on the spot.