When soaking clothes in white vinegar, it is best not to soak them overnight. If the soaking time is too long, it may damage the clothes or cause other contamination. Usually, the soaking time is 10 to 15 minutes.
If you want to remove yellowing sweat stains and sweat odor from clothes, you can soak and rinse the dirty clothes in white vinegar with a water-to-vinegar ratio of 20:1 for 10 minutes, and then perform regular cleaning. If you want to remove the remaining detergent, in the second to last wash with clean water, soak it in white vinegar water diluted at 100:1 for 5 minutes, and then rinse with clean water.
It is best to wash the clothes with laundry detergent first, then soak them in a mixture of water and vinegar, and then wash them with water to remove the vinegar smell.
I hope my answer can be helpful to you.