Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tortoise GIT - Support for password authentication was removed on August 13, 2021

Over a long period of time I am using tortoise git, today I am not able to use the tortoise git and getting the below error.

git.exe pull --progress -v --no-rebase "origin" remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.

I am using the latest tortoise git version. enter image description here

I understand what is the git latest change. But I want to use tortoise git. Someone, please help me out this issue.

like image 980
Sathia Avatar asked Aug 14 '21 09:08

Sathia


3 Answers

Github Has Revoked the support for password authentication on 13 Aug 2021 and giving the below mentioned response:

Support for password authentication was removed on August 13, 2021

In order to fix the issue follow the below steps:

  1. Goto settings of Github account
  2. Find and Select Developer Settings
  3. Find and Select Personal access tokens
  4. Generate a new token
  5. Fill in any note and select the access scopes
  6. once done click on generate token

Use the generated token in place of a password to communicate with GitHub.

like image 129
Jasneet Dua Avatar answered Oct 26 '22 16:10

Jasneet Dua


Actually, the git wants to store the token in the local machine instead of a password.

So you can fix this issue on MAC

  1. Click on the profile picture

  2. Goto the settings

  3. then click "Personal access token and generate new token" as shown in the picture enter image description here

  4. then write then token name + select expiration date and select the permissions that you want to give and then click on "Generate token present at the bottom of the screen" enter image description here

  5. open the keychain access and search the github and double tap the github account enter image description here

  6. final step is to paste the github token in the password field. That's all you have to do. enter image description here

like image 3
Muhammad Tameem Rafay Avatar answered Oct 26 '22 15:10

Muhammad Tameem Rafay


Follow the below steps to solve the issue.

  1. Update your git version using git update-git-for-windows

  2. In the windows start button, search Credential Manager and open.

  3. Click the Windows Credential, search and delete the GitHub credential.

  4. Now using tortoise git, pull the code. You will get the below popup.

enter image description here

  1. Click Sign in with your browser in the popup and now you can use tortoise git as like earlier.
like image 3
Sathia Avatar answered Oct 26 '22 16:10

Sathia