What did the women soldiers do in the civil war?

Neither army officially admitted women to the ranks. It seems that one or another may have fought in disguise.