I've done it before out of desperation but I'd often rather just walk if I don't have the gears. The turns are kind of a ***** and it's a really bad idea on any road with any amount of traffic on it.
I've always called it tacking, after the sailing term. It's basically just putting switchbacks on the hill.