Github 提交无法在桌面应用程序上运行

Github commit not working on desktop app

我在 windows 10 机器上使用最新版本的 github 桌面应用程序 (3.0.4)。最近,我无法做出承诺。尝试提交时,应用程序进入 "committing" 模式(正在加载..),然后什么也没有发生。当我也尝试提交单个文件时它不起作用。

当我升级到 Windows 10 后,当我 "push" 对遥控器 (GitHub) 的更改似乎挂起时,我看到了类似的东西。这就像 "GitHub Desktop" 应用程序永远不会回来确认推送,但是如果我关闭应用程序然后再次打开它,我可以看到 "push" 确实在我按下同步按钮时发生了.

当我使用 GitBash 时,它运行良好且快速。如果我在从 GitBash 执行此推送时有 GitHub 桌面应用程序 运行,现在执行同步,则更改会快速显示在 GitHub 桌面应用程序中,但它会永远保持 "Syncing" .

我写信给 GitHub 团队,这是他们不得不说的。

It looks like you're running into an out of memory exception: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. Unfortunately GitHub Desktop does have some edge cases that can cause an OoM -- mainly when working with a large amounts of commits or larger files. We're working on fixing performance to reduce these edges cases, but in the meantime I would try committing directly from the Git Shell:

  1. Hit ~ to open up the repository in the Git Shell
  2. Run 'git add -A' to stage the changes
  3. Run 'git commit -m "your commit message here"' to commit the changes

我更新了桌面应用程序(现在是3.0.9.0)后没有再遇到这个问题。