Fast travel to St. Gregory's Bridge in Novigrad. South-east of the signpost is a shopkeeper who sells a Potion of Clearance for 1000 crowns, which resets all skill points.
After taking the potion, the quickest method is to unlock every skill in the General tree, which requires 20 points. Afterwards, you can just reload a save from before you bought the potion.