2

I have download gitbash clone a repository through the command line and worked fine, when I am trying to push I am getting a :

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

If I use the git ui to push it's asking me for a username and password and it's actually works.

Petran
  • 7,677
  • 22
  • 65
  • 104
  • i've been seeing this too trying to set up some co-workers machines.. It appears to be only Windows platform specific.. it must be a bug with git for windows. – ddavison Feb 17 '14 at 15:25

2 Answers2

0

Did you clone from your fork of the repository or did you clone directly from a repository? If its the latter then you may not be able to push your changes. Instead try sending a pull request.

Also see this related question: Git push requires username and password

Community
  • 1
  • 1
yasouser
  • 5,113
  • 2
  • 27
  • 41
0

This is the result of a very serious bug in Git for Windows 1.8.5.2-preview20131230.

Downgrading to Git for Windows 1.8.4 should resolve this issue.

Edward Thomson
  • 74,857
  • 14
  • 158
  • 187