Changing Gear

I recently had occasion to quickly learn how to change gear without the clutch when the cable snapped. Some people do anyway, and I was surprised to find that a friend I was talking to only uses the clutch to start off. Well, long story short, I got home anyway. But it did get me thinking. What's the secret to doing it smoothly?