atom-git-control icon indicating copy to clipboard operation
atom-git-control copied to clipboard

error when trying to push

Open tdelhomme opened this issue 7 years ago • 4 comments

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?

tdelhomme avatar Oct 24 '16 09:10 tdelhomme

Same error

kunshao-msft avatar Nov 04 '16 23:11 kunshao-msft

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.

rcrooks avatar Jan 23 '17 14:01 rcrooks

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.

NTShop avatar May 25 '17 17:05 NTShop

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

tdelhomme avatar Jun 09 '17 13:06 tdelhomme