Hey! you can easiky travel from Dharamsala to Mcleodganj in a shared/private cab. The distance between bith destinations is very less. Thus, there are no local buses. You can also get a Volvo going towards Mcleodganj.
There are many buses in that route. But the convenient way is to go through jeep. It leaves after 10 mins from dharamshala to mcleodganj and vice versa and that charges only 15rs per person.