Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/regex/17.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Git Visual Studio 2017:不允许我推送到远程回购时出错_Git_Github_Visual Studio 2017 - Fatal编程技术网

Git Visual Studio 2017:不允许我推送到远程回购时出错

Git Visual Studio 2017:不允许我推送到远程回购时出错,git,github,visual-studio-2017,Git,Github,Visual Studio 2017,我一直在尝试将本地回购推到Github上的远程回购。我已经尝试重新创建我的本地回购协议。我尝试过发布本地回购协议的不同说明,所以我认为这一过程没有任何问题。我正在使用VisualStudio生成的URL。我正在运行windows 10和visual studio 2017 我并没有尝试使用git bash或学习任何新软件,所以如果您有任何简单的解决方案,那将非常好,但我仍然愿意尝试不同的解决方案 错误显示为: Error encountered while pushing to the remo

我一直在尝试将本地回购推到Github上的远程回购。我已经尝试重新创建我的本地回购协议。我尝试过发布本地回购协议的不同说明,所以我认为这一过程没有任何问题。我正在使用VisualStudio生成的URL。我正在运行windows 10和visual studio 2017

我并没有尝试使用git bash或学习任何新软件,所以如果您有任何简单的解决方案,那将非常好,但我仍然愿意尝试不同的解决方案

错误显示为:

Error encountered while pushing to the remote repository: Git failed with a fatal error.
HttpRequestException encountered.
   An error occurred while sending the request.
cannot spawn askpass: No such file or directory
could not read Username for 'https://github.com': terminal prompts disabled
Pushing to https://github.com/CalebADB/Static-Motion.git

谢谢

推荐更好的C++标记。这看起来是个权限问题;检查缓存的用户名和密码是否正确。您使用的是什么版本的VS 2017?关于这个有一个相当长的讨论;似乎很多人最近(也就是二月底)通过将VS更新为>=15.5.7获得了成功