What model and drivetrain does your jeep have?
For the '87+ with the NP231 transfer case, simply put the transmission in gear (or park for an auto) and the transfer case in neutral. Be sure to leave a key in the column so the steering wheel is unlocked.
I've flat-towed my YJ quite a bit.