Closed lambdalisue closed 7 years ago
Or with 'Vim 8
Messages maintainer: Bram Moolenaar <Bram@vim.org>
Fail: git --no-pager -c core.editor=false -C /home/alisue/wk/gina.vim push
fatal: could not read Username for 'https://github.com': No such device or address
REQUESTING CREDENTIALS Without any credential helpers defined, Git will try the following strategies to ask the user for usernames and passwords:
1. If the GIT_ASKPASS environment variable is set, the program
specified by the variable is invoked. A suitable prompt is provided
to the program on the command line, and the user’s input is read
from its standard output.
2. Otherwise, if the core.askPass configuration variable is set, its
value is used as above.
3. Otherwise, if the SSH_ASKPASS environment variable is set, its
value is used as above.
4. Otherwise, the user is prompted on the terminal.
Should be fixed on Linux/Mac by https://github.com/lambdalisue/gina.vim/commit/6a660d587c8f4974c3b9fdbb370e067816a8bb44
Windows is not supported until someone write a correct askpass.window
script.
While the commit breaks a lot of things. The commit has reverted and a new PR has created to test.
Closed by #11
git clone https://github.com/lambdalisue/gina.vim
gina.vim
nvim
:Gina push
Username for 'https://github.com':
is shown and hung.