could-not-read-Username-for-https-github-com-Invalid-argument
来源:互联网 发布:python 股票分析 教程 编辑:程序博客网 时间:2024/05/20 19:16
好久没玩hexo blog了,今天心血来潮想恢复使用,结果发现使用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的用户名和密码输入框,确认后可以正常部署。
阅读全文
0 0
- could-not-read-Username-for-https-github-com-Invalid-argument
- 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
- GitHub could not read Username
- Could not read Username Error for Git
- fatal: could not read Password for 'https:/username@bitbucket.org': No such file or directory
- git push时出现Username for 'https://github.com': 解决方法
- fatal: unable to access 'https://github.com/...': Could not resolve host: github.com
- fatal: unable to access 'https://github.com/gmarik/Vundle.vim.git/': Could not resolve host: github.
- unable to access 'https://github.com/apache/incubator-rocketmq.git/': Could not resolve host: github
- logcat read: Invalid argument
- Invalid argument: could not call shmget错误处理方法
- Android logcat read: Invalid argument
- could not resolve host: github.com
- git clone时出现ssh: connect to host github.com port 22: Connection timed out fatal: Could not read from
- Error:(22, 0) Could not find method android() for argument
- git SourceTree(remote:invalid username or password,fatal:Authentication falied for 'https:...
- uva 10129 Play on Words
- ARKit 获取识别到的水平面
- 关于iOS中的线程安全和使用场景
- wait()和notify()
- hdu5926Mr. Frog’s Game
- could-not-read-Username-for-https-github-com-Invalid-argument
- 三星910S3L安装系统修改Boot
- <job_demo><Qt>数据库简单查询
- 吴恩达教授的机器学习公开课
- python时间戳转换时间格式
- mybatis的缓存总结
- UEFI模式安装win10和Ubuntu 16.04 LTS双系统时遇到的问题
- 洛谷 P1980
- Android 开源组件和第三方库汇总