Skip to content

Instantly share code, notes, and snippets.

@gacarrillor
Created August 13, 2021 18:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gacarrillor/7ec1334136907dca982fc2747fff3e68 to your computer and use it in GitHub Desktop.
Save gacarrillor/7ec1334136907dca982fc2747fff3e68 to your computer and use it in GitHub Desktop.
change_github_authentication_method.md
Issue
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
Solution
1. Generate a new token according to below link.
https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token
2. Update remote URL
git remote set-url origin https://[NEW_TOKEN]@github.com/[ORGANISATION]/[REPO].git
3. Git pull once (I didn't need this one!)
git pull https://[token]@github.com/[ORGANISATION]/[REPO].git
Congratulations! You are good to go now.
--------
Source: https://itectec.com/git-password-authentication-is-temporarily-disabled-as-part-of-a-brownout-please-use-a-personal-access-token-instead/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment