Etymology
Today it means: A conventional phrase used to start a letter or conversation or otherwise to acknowledge a person's arrival or presence. Full definition →
By surface analysis, greet + -ing.
Etymology from Wiktionary, CC BY-SA 4.0.