could-not-read-Username-for-https-github-com-Invalid-argument
2017-08-14 16:32
417 查看
好久没玩hexo blog了,今天心血来潮想恢复使用,结果发现使用
网上搜索了下,这个问题有以下几个原因:
如果安装git客户端的时候没有勾选git命令在bash和cmd命令都有效,若是在cmd命令下则因为没有将git添加到windows的path,所以会出现这个错误,一般可以尝试在blog的目录打开git bash再尝试
未将username和email加入到git,可以使用如下命令试试
检查
客户端太老,我遇到就是这个问题,即便切换了git bash也仍然报错,于是我升级了新客户端,结果能正常弹出github的用户名和密码输入框,确认后可以正常部署。
hexo d命令时会报如下错误
could not read Username for 'https://github.com': Invalid argument
网上搜索了下,这个问题有以下几个原因:
如果安装git客户端的时候没有勾选git命令在bash和cmd命令都有效,若是在cmd命令下则因为没有将git添加到windows的path,所以会出现这个错误,一般可以尝试在blog的目录打开git bash再尝试
hexo d。
未将username和email加入到git,可以使用如下命令试试
git config --global user.name "yourname" git config --global user.email "youremail"
检查
_config.yml的配置是否正确
deploy: type: git repo: https://github.com/yourname/yourname.github.io.git branch: master
客户端太老,我遇到就是这个问题,即便切换了git bash也仍然报错,于是我升级了新客户端,结果能正常弹出github的用户名和密码输入框,确认后可以正常部署。
相关文章推荐
- fatal: could not read Username for 'https://github.com': No such file or directo
- fatal: could not read Username for 'https://github.com': No such file or directory
- GitHub错误处理:fatal:could not read Username for 'https://github.com': No such file or directory
- unable to access 'https://github.com/apache/incubator-rocketmq.git/': Could not resolve host: github
- fatal: unable to access 'https://github.com/gmarik/Vundle.vim.git/': Could not resolve host: github.
- Could not fetch https://api.github.com/repos/RobinHerbots/jquery
- fatal: could not read Password for 'https:/username@bitbucket.org': No such file or directory
- git clone时出现ssh: connect to host github.com port 22: Connection timed out fatal: Could not read from
- fatal: unable to access 'https://github.com/...': Could not resolve host: github.com
- 在安装Android Studio之后,启动时报错:Argument for @NotNull parameter 'name' of com/android/tools/idea/
- maven报错:Non-resolvable parent POM for com.taotao:Taotao-common:0.0.1-SNAPSHOT: Could not find artifa
- github常见操作和常见错误! fatal: Could not read from remote repository.
- Argument for @NotNull parameter 'name' of com/android/tools/idea/welcome/Platform.<init> must not be
- Could not install the app on the device, read the error above for details. Make sure you have an And
- 解决Error:Could not determine the class-path for interface com.android.builder.model.AndroidProject.
- Could not install the app on the device, read the error above for details. Make sure you have an And
- 解决 Successfully created project '' on GitHub, but initial push failed: Could not read from remote re
- org.hibernate.PropertyNotFoundException: Could not find a getter for employee in class com.itcast.f_hbm_oneToMany.Department
- 遇到从github git clone不下来,报Permission denied (publickey). fatal: Could not read from remote repository.
- Git could not resolve the host github.com error/Git push 403 error