New to Git.
Followed all the directions from github help pages but simple commands like git pull and git push continues to prompt my password on each invocation. Specifically, I set the following:
I also setup ssh keys elaborately as per the steps mentioned in the help but password prompts don't go away.
Suggestions?
In the upper-right corner of any page, click your profile photo, then click Settings. In the left sidebar, click Developer settings. In the left sidebar, click Personal access tokens. Click Generate new token.
From your comment saying that the password that works at this prompt is your GitHub password, I strongly suspect that you've cloned your repository using the https
URL rather than the SSH URL. You can change that with:
git remote set-url origin [email protected]:whoever/whatever.git
... where you should replace the last parameter with whatever's shown when you click the "SSH" button on your repository's page.
(You can check what URL origin
currently refers to with git remote -v
.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With