The PKK in Turkey is another example. Kurdish militia that had support of the local population, but was no match for the Turkish military. If the entirety of a country revolts, that's difficult to do anything about, not least because in that case the military is likely to defect anyway, making the question of a military vs. militia fight moot. But in most realistic scenarios a militia uprising is only by part of the population, which is a lot easier to defeat.