Issue
Github doens't allow username/password anymore to access your repo. I was able to switch to ssh key on windows. On macos I followed this guide https://medium.com/@kiran.jasvanee/the-process-to-generate-ssh-key-and-add-it-on-github-ba7139c07daf but when entering a git commad e.g. "git pull", git asks me for username und password.
I can of course provide more information but I don't know where to start searching.
Solution
Go to the root folder of your repository, and type:
git remote -v
Make sure your URL starts with [email protected]:...
.
If not:
git remote set-url origin [email protected]:<me>/<myrepo>
(replace <me>/<myrepo>
by your values)
Check also if your default SSH key works:
ssh -Tv [email protected]
You should see an error message.
Answered By - VonC