If you are a complete beginner, check out the basic pedal kick.
10 variations of the pedal hop in bike trials.
Jump over a gap from a rear wheel position with a powerful pedal kick.
If you have room for one pedal turn or half a pedal turn, and if the surface is smooth, you can jump over a longer distance, or climb frontaly on small stuff with a pedal up.
If there is no space or you feel more comfortable balancing on the rear wheel, you can launch a rear side hop to climb sharp on street stuff or any odd rocks.
You can use the pedal kick to climb up sideways, without any run up distance starting both wheels on the ground (sort of a backhop and pedal hop combination).
Pedal hop sideways, over a gap and land either parallel to your initial position, or turning 90° during the pedal kick, land perpendicular.
Jump over a gap or climb on stuff with a pedal kick, but land on the front wheel.
Two pedal hops in a row, to bounce the front wheel directly onto an obstacle, and follow up with a front-to-back wheel transfer.
Starting from a static position, with "both wheels on edges", a pedal kick can bring the rear wheel right in place of the front wheel.
Cool variations, launching a 180° turn over a gap (on your bad side)
How to practice the pedal hop
It takes a while to control the rear brakes to release the back wheel synchro with the pedal kick, and to block it right for landing sharp...Just practice...At the beginning, try to climb on the edge of a small kerb to feel the move.
Also, you can practice starting with the front wheel on a kerb, balancing your body above the rear wheel before the pedal kick, then moving your body forward as you kick the pedal, and sending the bike far forward just after the kick. (the final position will look like the initial balance step, but the rear wheel in place of the front wheel on the kerb).
Once you master the move, try it on sharper edges or funny shapes. If the surface where the rear wheel stands is too rough for a nice roll, or if the rear wheel is not on a crest, then the pedal hop is not the best option. Because the rear wheel may get stuck by some irregularity (i.e OTB crash with style). Then what you need is to do a static hop or wheel-transfer, pulling all the bike with you in one impulsion.