It happened at Hayes and Ashlan after 1 Monday morning.
Deputies say a man riding his bike was approached by a group of people.
There was an argument over gang information, and the victim was hit twice in the lower body.
He was taken to a nearby hospital and is expected to recover.
Deputies have not said if the victim knew the people in the car.
A suspect description has not been released.