Technique #1, Tilt upstream!
I've always taught that the default position in moving water/rapids is 'tilt downstream"
But I've noticed that I reallly tilt upstream anytime that I think the water may be shallow. It's all got to do with keeping upright in the shallows.
This is especially true for creeking, since most of the time it is shallow.
tilting upstream presents the bottom of your hull to any submerged rocks so you slide over them, rather than tilting downstream which would present the sharp edge of the chine of the boat to the oncoming rock. The edge of the boat would be more likely to catch on the rock, when the boat stops abruptly, your downstream momentum becomes a rolling motion. ouch!
The best approach is to be on the upstream side, tilted slightly upstream, at worst, the sudden deceleration will leave you totally upright or maybe with a downstream tilt. When the boat contacts the rock take a wide forward boof stroke that pushes the boat up and over the rock. Of course if the rock is sticking up too high out of the water, you'll need to lean into it to avoid a broach, but that's not the situation we are talking about.