I just cleaned my gears and chain with a biodegradable degreaser. I'm going to lubricate my chain. Do I also need to lubricate the gears or do I just pedal and make sure that I hit all gears? Will the lube on the chain lube the gears?
You don't need to lubricate your gears since they don't have any moving parts or pivots (it's the hub that rotates). Cleaning them is all you needed to do.
I always wash off the degreaser, lube the chain, and then run it through all gears to get a bit of lube worked into everything. Don't need to lube the gears specifically.
I think the key is to be sure to wash off all traces of the degreaser. Last thing you need is residual cleaner gunking stuff up.