- By far the most important, make sure you shower before you ride if you won't have a chance afterwards. IIRC, a shower will get rid of 99.9% of sweat eating odour causing bacteria, and that bacteria has a doubling period of about 20 minutes when well fed, so a shower gives you 3-4 hours stink free even if covered in sweat; much longer if you have a chance to change & dry off before those 3-4 hours are up.
- wear cotton. It might feel icky after you sweat, but it won't stink like technical fabrics will. Wool is a good compromise -- the smell of wet sheep is preferable to locker room.
- change your clothes and dry off when you get to work.