Pretreat the stained area with a stain remover before washing the clothing in hot water with a strong detergent to eliminate the smell of diesel. To assist in getting rid of the smell, you can also add a cup of baking soda or white vinegar to the wash cycle. If required, repeat the procedure.