jacogr / atom-git-control

Not maintained :(
MIT License
227 stars 70 forks source link

error when trying to push #211

Open tdelhomme opened 7 years ago

tdelhomme commented 7 years ago

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?

kunshao-msft commented 7 years ago

Same error

rcrooks commented 7 years ago

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.

NTShop commented 7 years ago

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:

  1. Generate an SSH key if you don't have one yet
  2. Add your SSH key to your GitHub account
  3. 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.

tdelhomme commented 7 years ago

that works for me! see here for detailed steps to add ssh key