I'm new to this wine making also and no expert on anything, but here is how I so it.
When degassing I like to have 4 or 5 inches of head space, this gives me a little room if it really foams up fast. Start with no vacuum and slowly increase the vacuum while watching the carboy, if it starts to foam up close to the top of the carboy, decrease the vacuum. You aren't going to hurt your wine with the increase head space because you are covering the wine with CO2. Continue to degas until you get almost all the CO2 out, you'll see real fine bubbles rising every once in a while. When you stop degassing slowly decrease the vacuum so that you don't get a surge of air in the carboy. That's good, you want a little CO2 left in the carboy, not much, just enough to cover the wine after you have topped it off. After degassing I top it off with the same kind of wine or something very close to it. Top off to about an inch of head space. There are other ways and probably better ways, but that's the way I do it.
Semper Fi
Bud