atom-git-control
atom-git-control copied to clipboard
error when trying to push
Hi, Trying to push my commits I get the following:
fatal: could not read Username for 'https://github.com': Input/output error
No one ask me for my username and password... Any idea?
Same error
Getting the same error on fetch and all commands
git config user.name returns the correct value, so not sure how to try to fix this.
You might be able to work around this by using SSH authentication in GitHub, and cloning a repo via its SSH url instead of its HTTPS url. It works for me on Linux.
So basically:
- Generate an SSH key if you don't have one yet
- Add your SSH key to your GitHub account
- Clone your repo using the SSH URL - not the HTTPS URL (See the Clone dialog box on your repo, there's a SSH link in the top right corner.
With that done commit/push works in git-control.
If you already have a clone repo and its modifiy you can edit the .git/config file to modify the URL to the SSH url. Then push. It worked for me anyway.
that works for me! see here for detailed steps to add ssh key