1

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?

hurich
  • 11
  • 2
  • 4
  • 3
    Possible duplicate of [Git push results in "Authentication Failed"](http://stackoverflow.com/questions/17659206/git-push-results-in-authentication-failed) – Beck Yang Apr 06 '17 at 08:24
  • doenst look like its the same issue because I could not even clone it. – hurich Apr 06 '17 at 11:32
  • What are you trying to clone? Does it require authentication? Have you provided the correct credentials? – larsks Apr 06 '17 at 20:30
  • solved -> http://stackoverflow.com/a/43039662/7825397 – hurich Apr 06 '17 at 20:49

3 Answers3

1

you can use code in command line

git clone https://username@example.com/.../project_name.git

or

git clone https://username:password@example.com/.../project_name.git
mehnet ali
  • 73
  • 3
  • 12
0

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

Aymen Boumaiza
  • 1,339
  • 1
  • 9
  • 9
0

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

enter image description here

Manoj
  • 2,059
  • 3
  • 12
  • 24
kundan
  • 1