Cannot Push to Master

I can't figure out the workflow on this. I keep getting the following error when trying to push to my repository:

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

I've set up the repository on Github, then I git cloned it.

Locally it's fine. I made some changes to the README.md file. Then, I git add -Ad it, so the changes are ready. I then git commit -m '...'d it, and the commit is ready.

I set up the remote using:

git remote add Midlife https://github.com/cireficc/Midlife.git

So now I should be able to git push Midlife master because the commit is ready to go. But no, I run into the 'could not read Username' error.

I've set up the local commit info using

git config --global user.name "<my name>"
git config --global user.email "<my email>"

so I really don't know what's wrong.

It doesn't ask me for credentials but just gives me the error message quoted above, so I'm kind of lost.


Edit: This question is also a duplicate of: [dup1] -- [dup2] -- [dup3]

Answers


That is a bug in current Git for Windows (version 1.8.5.2 aka Git-1.8.5.2-preview20131230).

You can see this thread for the discussion and instructions to fix it.

If a newer Git for Windows has been released, try installing that and see if it fixes the issue. If it doesn't please report it to the developers, and use an older version, the fix suggested in that thread, or an SSH remote instead.

Edit: As more users are still running into this problem, I have created an unofficial fix release 1.8.5.4 (Git-1.8.5.4-nevik20140208) which includes the fix for this bug presented in the mailinglist thread linked above. As of now (2014-02-09), there's no new official Git for Windows reease yet, so this should serve until there is one.


Need Your Help

How do I add JDBC drivers and configure JDBC Resources in Payara Micro?

java java-ee jdbc payara payara-micro

What are my options to set up JDBC drivers and resources when using Java EE Payara Micro?

Sub-queries in associations with hibernate

java hibernate jpa hql

Anyone knows if is possible to use sub-queries in associations like this query bellow?