GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
Gpush command not working and showing error
|| fatal: could not read Username for 'https://github.com': No such device or address
however git push command from terminal is working properly.
I'm using neovim NVIM v0.3.1 on ubuntu 18.04
NVIM v0.3.5 on Manjaro Linux, I have the same thing.
When you use it in the terminal, does it prompt for a username or password?
Yes, $ git push prompts for the username on xterm, st, and urxvt. The issue is specific to Nvim.
$ git push
Discussed in #911. It's a Neovim limitation. At least they fixed it hanging Vim.
My recommended workaround is to use credential caching or ssh keys or any other mechanism to stop it from asking for the password every single time.
@tpope I will try the ssh keys mechanism as a workaround; thank you very much.