Git push constantly complains about authentication failure but does not prompt for password #80843
Select Topic AreaQuestion BodyI have the following setup. $ git remote -v
origin https://github.com/webquest-nz/whanganuijobs.co.nz.git (fetch)
origin https://github.com/webquest-nz/whanganuijobs.co.nz.git (push)
$
$
$ git config --system credential.helper # no output
$ git config --global credential.helper # no output
$ git config --local credential.helper # no output
$However when I try and push my latest changes to the repo I get this error: How do I clear and reset the password for this repo? |
Replies: 3 comments
|
Hey, GitHub is no longer accepting account passwords when authenticating Git operations, you need to add a PAT (Personal Access Token) instead. Here are the steps to generate personal access tokens. Click here for Token. Step 1 - Open GitHub and log in with your credentials. Step 2 - Click on the Setting menu. Step 3 - From the Setting menu click on Developer Settings Step 4 - From the Developer Settings menu, click on Personal access token Step 5 - From the Personal access token, click on the Generate new Token button. Step 6 - Now fill up required details like Note, Expiration, Select scopes. And then click on the Generate Token button. Step 7 - After that, a new token has been generated. Copy that generated token and use this token to access Git with username and token. Hope this resolves your problem. Please click on |
|
Git push constantly complains about authentication failure but does not prompt for password I understand that you are facing authentication issues when trying to push changes to your GitHub repository. GitHub has discontinued support for password authentication, and you need to use a Personal Access Token (PAT) instead. Here's a step-by-step guide on how to generate and use a PAT:
Now, you can use this token along with your GitHub username for authentication. Open your terminal and update the remote URL for your repository using the following command:
Replace After updating the remote URL, try pushing your changes again:
This should resolve the authentication issue. If you face any further problems, feel free to ask for assistance. Hope this helps! |
|
not work it settion Personal Token |
Hey, GitHub is no longer accepting account passwords when authenticating Git operations, you need to add a PAT (Personal Access Token) instead.
Here are the steps to generate personal access tokens.
Click here for Token.
Step 1 - Open GitHub and log in with your credentials.
Step 2 - Click on the Setting menu.
Step 3 - From the Setting menu click on Developer Settings
Step 4 - From the Developer Settings menu, click on Personal access token
Step 5 - From the Personal access token, click on the Generate new Token button.
Step 6 - Now fill up required details like Note, Expiration, Select scopes. And then click on the Generate Token button.
Step 7 - After that, a new token has been generate…