Achieving Successful Git Push After Password Prompt for GitHub HTTPS Repository Clone #69055
-
|
After cloning a GitHub repository to my local computer via HTTPS, I made code modifications locally, performed a 'git add' and 'git commit.' However, when attempting to execute 'git push origin main,' I encountered a prompt for my username and password. I initially tried entering the credentials saved in Safari, but I received an error. How can I resolve this issue? I also attempted to paste the password from both '/.ssh/id_rsa' and '/.ssh/id_rsa.pub' without success. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Generate a Personal Access Token: Update Git Credentials: Push Your Changes: |
Beta Was this translation helpful? Give feedback.
-
|
Thank you! That was very helpful. |
Beta Was this translation helpful? Give feedback.
Generate a Personal Access Token:
Update Git Credentials: