I've just lost a bunch of repositories from my disk, so I've cloned them from GitHub. These are now asking for username and password each time I push something to GitHub. Those that haven't been deleted don't do that.
The only solution I've read for getting rid of username/password prompt is generating ssh key. The thing is I already have a key, otherwise I couldn't push without prompts in those repos, that I didn't clone.
I've looked at
git config for two of my repositories, one that I can push without password and one that I've cloned. The only difference was
branch.master.merge settings, which I unset, making
git config the same. But the prompt is still there.
I'm not even sure that generating new ssh key will work. What are my options?