Gestational diabetes food

I haven’t been diagnosed yet so just planning ahead just in case - but if I have GD should I pretty much just be eating low carb and avoiding sugar?