Use a hose, 1/2 cup of baking soda or vinegar and your regular detergent to wash the jeans.
Take your jeans outside. Rinse the jeans thoroughly with a hose. This helps to remove any diesel fuel in the fabric.
Start your laundry machine. Use the largest load and hottest temperature settings available. Add your regular laundry detergent to the water. Do not mix any other laundry with the jeans.
Smell your jeans when the wash cycle is complete. Rewash your jeans using the steps above if the odor persists.
Wash the jeans again when the diesel odor is very faint. Add your normal detergent to the wash with 1/2 cup of baking soda or vinegar. Baking soda absorbs the smell of diesel fuel. Vinegar adds a fresh smell to clothing.
Hang your jeans outside to dry. Using the dryer is dangerous when dealing with diesel fuel because it is a highly combustible chemical.