1

I am trying to run the following command on GitBash on Windows 7:

$ git clone https://github.com/myfolder/myrepo

I ended up getting the following message:

Cloning into 'myrepo'...

fatal: could not read Username for 'https://github.com': No such file or directo
ry

Found some articles but none of them were related with "cloning":

Some relevant articles I found are :https://github.com/kemayo/sublime-text-git/issues/176

2) fatal: could not read Username for 'https://github.com': No such file or directory

Community
  • 1
  • 1

1 Answers1

0

If you are using msysgit 1.8.5.2, this could be the result of a bug.
(Initially discussed in this question, and confirmed in issue 153)

Try upgrading to msysgit 1.9.0.: PortableGit-1.9.0-preview20140217.7z.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • I am using GitBash and not mysysgit but yes, my version of git is 1.8.5.2. Is there a way I can upgrade it to 1.9.0 without uninstalling the current GitBash ? –  Mar 06 '14 at 17:41
  • @John it is a msysgit distro. You can unzip the 1.9 I mention in my answer anywhere you want, and add it to your PATH. It will include a git bash (and a git cmd). – VonC Mar 06 '14 at 18:06