I wish you luck. You are asking for a rather convoluted, approximately 300 mile ride from one remote location to another.
I know because I hitched that very route many years ago having left my car at the western end of the High Sierra Trail and hiked to Whitney quite naively expecting to hike back. So I had to get back to the car. It took two full days and some interesting rides and adventures including ignoring the "don't hitchhike on freeway" signs and sleeping in some ballfield in Fresno with lots of ants.
Then again, getting connected by commercial services is probably not easy either.
In any event, good luck getting a ride for two.