RSSAmplifier

Fully-Faltoo Blog

Remember Github login in CLI

0
Sign in to vote or save

Pratyush Mittal · fully-faltoo.com

7th Sept. 2024

I changed my laptop recently. I was unable access GitHub from command line after that.

I was getting this error.

remote: Support for password authentication was removed on August 13, 2021.

remote: Please see https://docs.github.com/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.

fatal: Authentication failed

Fix

The fix is to install git-credential-manager. This is mentioned by Github but very poorly.

Once the manager is installed, git push works like ever before. We don't need to create new tokens after every few months.

Read the original on fully-faltoo.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.