Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/24.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致命:遇到ArgumentNullException_Git_Github_Git For Windows - Fatal编程技术网

Git致命:遇到ArgumentNullException

Git致命:遇到ArgumentNullException,git,github,git-for-windows,Git,Github,Git For Windows,我在尝试推送到Github repo时收到以下错误。我在windows上工作,repo在GitHub上工作 看起来凭据管理器出现了一些问题,因为在出现错误消息后,会再次请求凭据,我仍然可以推送我的更改,但这个错误真的很烦人 我知道GitHub不再支持TLS 1.0和1.1,仅支持1.2,这就是为什么我将Git for Windows更新为最新版本的原因: git --version git version 2.17.0.windows.1 然而,这并没有多大帮助 更新:详细信息 git com

我在尝试推送到Github repo时收到以下错误。我在windows上工作,repo在GitHub上工作

看起来凭据管理器出现了一些问题,因为在出现错误消息后,会再次请求凭据,我仍然可以推送我的更改,但这个错误真的很烦人

我知道GitHub不再支持TLS 1.0和1.1,仅支持1.2,这就是为什么我将Git for Windows更新为最新版本的原因:

git --version
git version 2.17.0.windows.1
然而,这并没有多大帮助

更新:详细信息

git commit --all -m"#ISSUE-123 Rename example dirs; added command-line handlers"
22 files changed, 501 insertions(+), 7 deletions(-)
git push https://<my_username>@github.com/<my_repo>.git #ISSUE-123
fatal: ArgumentNullException encountered.
Value cannot be null.
Parameter name: path
git commit--all-m“#问题-123重命名示例dirs;添加命令行处理程序”
22个文件已更改,501个插入(+),7个删除(-)
git push https://@github.com/.git#ISSUE-123
致命:遇到ArgumentNullException。
值不能为null。
参数名称:路径

当然,路径和用户名是100%正确的

Bash将散列
#
视为注释的开始:

git push https://<my_username>@github.com/<my_repo>.git "#ISSUE-123"
git-push https://@github.com/.git“#问题-123”
引用包含散列的字符串,问题应该消失


但是,在分支名称中使用哈希似乎不是常见的做法。

Bash将哈希
#
视为注释的开始:

git push https://<my_username>@github.com/<my_repo>.git "#ISSUE-123"
git-push https://@github.com/.git“#问题-123”
引用包含散列的字符串,问题应该消失


然而,在分支名称中使用哈希似乎不是一种常见的做法。

我解决了这个问题,Git Credential Manager似乎很难重现这个问题。首先,我重新安装了Git并取消选中“Git凭据管理器Windows版”复选框。然后,我分别安装了凭据管理器和。现在一切都好了。希望在下一个Windows版本中得到修复

我解决了这个问题,看起来Git Credential Manager很难重现这个问题。首先,我重新安装了Git并取消选中“Git凭据管理器Windows版”复选框。然后,我分别安装了凭据管理器和。现在一切都好了。希望将在Windows的下一版本中得到修复

为了改进解决方案,您可以通过运行以下命令直接删除“Git Credential Manager for Windows”:

git config --edit --system
并删除以下行:

helper = manager
此帖子的作者:

要改进解决方案,您可以通过运行以下命令直接删除“Git Credential Manager for Windows”:

git config --edit --system
并删除以下行:

helper = manager

这篇文章的作者:

哪个错误?什么时候请截图?当然,伙计,请看更新哪个错误?什么时候请截图?好的,伙计,看看updateNever以前对哈希有任何问题。引用不帮助查看问题,我在Windows下,哈希未被视为注释。以前,哈希没有任何问题。引用不帮助查看问题,我在Windows下,哈希不作为评论处理