You make the villager not like you; you can do this by hitting them with a net. It's easier to get a villager to move out if you time travel, but you don't need to. You will know when the villager wants to move out when they have thought bubbles above their head with a sad expression, or they run up to you to talk.