Others have disputed my technique in the past, but here's what has worked for me:
Put bike on center stand.
Put transmission in 1st gear.
Rotate rear wheel by hand, normal direction, it will only go partial revolution and then stop. When that happens, move the shift pedal up, and ON MY BIKE, it will shift into second. Keep repeating this process and ON MY BIKE it will go through all the gears. Some have told me this is not possible, but it works ON MY BIKE. Yours may not. Worth a try.
Just saying.