Preheat oven at 400. Spray a baking pan with cooking spray. Sprinkle potatoes with rosemary, salt, and garlic. Mix well. Bake for 20 to 30 minutes.