Score:0

Authentication failed while git clone

fj flag

I created a VM and installed docker and git and then tried to clone a github project.

git clone "project_url"

Gave correct username and pwd but after that I am getting below error remote: Support for password authentication was removed on August 13, 2021. remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication. fatal: Authentication failed for ...

Am I missing something

asktyagi avatar
in flag
I think this [link](https://stackoverflow.com/questions/68775869/message-support-for-password-authentication-was-removed-please-use-a-personal) will help you
Score:0
br flag

You need to either upload your SSH public key to your account, and then use SSH for your connection to GitHub; or, create a personal access token which you will use in place of your password.

To create a PAT, go to Settings > Developer Settings > Personal access tokens, and create one with the permissions you need. Copy the token somewhere safe, and enter it instead of your password when you are prompted by the command line.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.