vs2017 向github上push提交时 could not read Username for
错误
Git failed with a fatal error.
HttpRequestException encountered.
��������ʱ�����
cannot spawn askpass: No such file or directory
could not read Username for ‘https://github.com‘: terminal prompts disabled
Pushing to https://github.com/hddevteam/ServerMonitor-for-UWP.git
解决
- 打开项目所在的目录下.git文件夹,打开config文件。
- 修改[remote “origin”]下的
url = https://github.com/hddevteam/ServerMonitor-for-UWP.git
为
url = https://自己的用户名:自己的密码@github.com/hddevteam/ServerMonitor-for-UWP.git
这里的“hddevteam”网上可能有不同的说法,这个是我们的团队名,个人开发的话是自己的用户名,一般不需要改。