Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gocs/f0be61fc18e74a1e1220eb05aeeeccec to your computer and use it in GitHub Desktop.
Save gocs/f0be61fc18e74a1e1220eb05aeeeccec to your computer and use it in GitHub Desktop.
remote: Support for password authentication was removed

got this error when using gh?

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.
fatal: Authentication failed for 'https://github.com/<user>/<repo>/'

my approach is to re-authenticate gh

$ gh auth login

next time

use SSH instead OF HTTP when logging in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment