Wait for it to demonstrate signs of affection (e.g. rubbing up against your leg) before greeting it.
[header] How to greet a cat [title] Wait for the cat to approach. [step] When you are near a cat that you are friendly with (e.g. your own, or a close friend's cat) wait for it to approach you. Even cats that are normally friendly have days when they do not wish to be disturbed.