Gasoline is potent, but it’s possible to remove the strong smell from clothing. Small amounts of ammonia, baking soda or vinegar can help neutralize the strong smell of gasoline.
Be sure to test any chemicals on a small, inconspicuous spot on your garment to make sure it will not cause damage or remove any dye from the fabric.