If you accidentally hit one, get on a pteranodon and barrel roll until the hole flock dies.

More Dimorphodon Encountering Tips