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 clone
d it.
Locally it's fine. I made some changes to the README.md
file. Then, I git add -A
d 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]