hurich
hurich

Reputation: 11

Git clone command line https authorization error

I have installed the git command line. Every time I try to clone a repo I get an authentication error.

fatal: Authentication failed for ....

It works on my mac but not on my windows laptop. Does anyone have an idea?

Upvotes: 1

Views: 9460

Answers (3)

kundan
kundan

Reputation: 1

I have got same error. Go to control panel -> User Account --> Credential Manager and edit git credentials.

enter image description here

Upvotes: 0

mehnet ali
mehnet ali

Reputation: 133

you can use code in command line

git clone https://[email protected]/.../project_name.git

or

git clone https://username:[email protected]/.../project_name.git

Upvotes: 1

Aymen Boumaiza
Aymen Boumaiza

Reputation: 1419

Should save git auth username and password on windows credential manager enter image description here

Upvotes: 0

Related Questions