【问题标题】:git push fatal: Could not read from remote repositorygit push 致命:无法从远程存储库读取
【发布时间】:2021-12-04 06:41:09
【问题描述】:

我想 git push,但是...

这是错误:

C:\Sites\workspace\sample_app1>git push
      0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x68570000, RegionSize 0x460000, State 0x10000
C:\RailsInstaller\Git\bin\ssh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0

fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

我该如何解决这个问题?

【问题讨论】:

  • 你使用的是什么操作系统以及什么版本的git?
  • windows10 , git 版本 1. 9. 4
  • 你使用的是x64位版本的git吗?
  • 我使用的是 x32 位。

标签: git ssh cygwin heap-memory


【解决方案1】:

如上所述,that is a Win32 error 可以通过以下方式修复:

rebase.exe -b 0x50000000 msys-1.0.dll

但那是 Git 2.0 (2015) 之前的版本,以及 msys2
任何最近的Git for Windows 2.x (32 and 64 bits) 都可以避免这个问题。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-11-10
    • 2019-10-24
    • 2013-04-13
    • 1970-01-01
    • 2014-05-04
    • 2015-01-19
    • 2020-01-20
    • 2015-11-21
    相关资源
    最近更新 更多