Github push error: can't read "some_heads_tracking": no such variable

Github push error: can't read "some_heads_tracking": no such variable

我安装了 GitHub 桌面应用程序,"Git Shell" 在我的桌面上 Windows。

我想添加到存储库的文件夹中有 .gitattributes.gitignore 文件。

我转到文件资源管理器中的文件夹,右键单击并打开 "Git Commit Tool"。

重新扫描、暂存更改、签署、提交。然后,当我尝试 "Push" 时,出现错误:

“无法读取'some_heads_tracking':没有这样的变量

这个错误是什么意思?

我以前从未见过这个错误,因为我也刚刚开始深入研究 git,但我从 codeacademy

学到了很多东西

https://www.codecademy.com/articles/push-to-github <- 有要推送的步骤

我发现有时使用 cmd 行会更好,因为您会得到更详细的错误消息。

祝你好运