当前位置: 首页 > 知识库问答 >
问题:

尽管运行了gc和prune,但所有关键的git命令都挂起了

衡建中
2023-03-14

git结账也挂着,什么都没发生。

我不知道怎么解决这个问题。我运行了git prune、git gc和git fsck--无法访问。当我运行git fsck时,什么也没有显示--无法访问或git fsck,而当我运行git prune时,它只是完成了,但什么也没有修复。Git gc也完成了,但没有修复任何内容。

λ strace git checkout develop
--- Process 28092 created
--- Process 28092 loaded C:\Windows\System32\ntdll.dll at 00007ffa2c0b0000
--- Process 28092 loaded C:\Windows\System32\kernel32.dll at 00007ffa29710000
--- Process 28092 loaded C:\Windows\System32\KernelBase.dll at 00007ffa28a10000
--- Process 28092 loaded C:\Windows\System32\msvcrt.dll at 00007ffa29670000
--- Process 28092 thread 16828 created
--- Process 28092 loaded C:\Windows\System32\shell32.dll at 00007ffa29dc0000
--- Process 28092 loaded C:\Windows\System32\cfgmgr32.dll at 00007ffa29290000
--- Process 28092 loaded C:\Windows\System32\ucrtbase.dll at 00007ffa29190000
--- Process 28092 thread 25116 created
--- Process 28092 loaded C:\Windows\System32\SHCore.dll at 00007ffa2b5c0000
--- Process 28092 loaded C:\Windows\System32\rpcrt4.dll at 00007ffa29a70000
--- Process 28092 loaded C:\Windows\System32\combase.dll at 00007ffa292e0000
--- Process 28092 loaded C:\Windows\System32\bcryptprimitives.dll at 00007ffa281a0000
--- Process 28092 thread 19616 created
--- Process 28092 loaded C:\Windows\System32\windows.storage.dll at 00007ffa28220000
--- Process 28092 loaded C:\Windows\System32\msvcp_win.dll at 00007ffa28970000
--- Process 28092 loaded C:\Windows\System32\sechost.dll at 00007ffa2b380000
--- Process 28092 loaded C:\Windows\System32\advapi32.dll at 00007ffa29c80000
--- Process 28092 loaded C:\Windows\System32\profapi.dll at 00007ffa28130000
--- Process 28092 loaded C:\Windows\System32\powrprof.dll at 00007ffa280b0000
--- Process 28092 loaded C:\Windows\System32\shlwapi.dll at 00007ffa29ba0000
--- Process 28092 loaded C:\Windows\System32\gdi32.dll at 00007ffa29a30000
--- Process 28092 loaded C:\Windows\System32\gdi32full.dll at 00007ffa28f70000
--- Process 28092 loaded C:\Windows\System32\user32.dll at 00007ffa2b420000
--- Process 28092 loaded C:\Windows\System32\win32u.dll at 00007ffa29170000
--- Process 28092 loaded C:\Windows\System32\kernel.appcore.dll at 00007ffa28110000
--- Process 28092 loaded C:\Windows\System32\cryptsp.dll at 00007ffa28180000
--- Process 28092 loaded C:\Windows\System32\imm32.dll at 00007ffa29a00000
--- Process 28092 loaded C:\Users\dontdoxpls\Desktop\cmder\vendor\conemu-maximus5\ConEmu\ConEmuHk64.dll at 00007e1100000000
--- Process 25040 created
--- Process 25040 loaded C:\Windows\System32\ntdll.dll at 00007ffa2c0b0000
--- Process 25040 loaded C:\Windows\System32\kernel32.dll at 00007ffa29710000
--- Process 25040 loaded C:\Windows\System32\KernelBase.dll at 00007ffa28a10000
--- Process 25040 thread 28028 created
--- Process 25040 thread 9448 created
--- Process 25040 thread 26428 created
--- Process 25040 loaded C:\Windows\System32\advapi32.dll at 00007ffa29c80000
--- Process 25040 loaded C:\Users\dontdoxpls\Desktop\cmder\vendor\git-for-windows\mingw64\bin\libintl-8.dll at 0000000061cc0000
--- Process 25040 loaded C:\Users\dontdoxpls\Desktop\cmder\vendor\git-for-windows\mingw64\bin\libiconv-2.dll at 0000000066000000
--- Process 25040 loaded C:\Windows\System32\msvcrt.dll at 00007ffa29670000
--- Process 25040 loaded C:\Users\dontdoxpls\Desktop\cmder\vendor\git-for-windows\mingw64\bin\libpcre-1.dll at 0000000069140000
--- Process 25040 loaded C:\Windows\System32\msvcrt.dll at 0000000001a20000
--- Process 25040 loaded C:\Windows\System32\sechost.dll at 00007ffa2b380000
--- Process 25040 unloaded DLL at 0000000001a20000
--- Process 25040 loaded C:\Users\dontdoxpls\Desktop\cmder\vendor\git-for-windows\mingw64\bin\zlib1.dll at 0000000062e80000
--- Process 25040 loaded C:\Windows\System32\rpcrt4.dll at 00007ffa29a70000
--- Process 25040 loaded C:\Windows\System32\user32.dll at 00007ffa2b420000
--- Process 25040 loaded C:\Windows\System32\win32u.dll at 00007ffa29170000
--- Process 25040 loaded C:\Windows\System32\gdi32.dll at 00007ffa29a30000
--- Process 25040 loaded C:\Windows\System32\gdi32full.dll at 00007ffa28f70000
--- Process 25040 loaded C:\Windows\System32\msvcp_win.dll at 00007ffa28970000
--- Process 25040 loaded C:\Windows\System32\ucrtbase.dll at 00007ffa29190000
--- Process 25040 loaded C:\Windows\System32\ws2_32.dll at 00007ffa2b310000
--- Process 25040 loaded C:\Users\dontdoxpls\Desktop\cmder\vendor\git-for-windows\mingw64\bin\libssp-0.dll at 0000000068ac0000
--- Process 25040 loaded C:\Windows\System32\imm32.dll at 00007ffa29a00000
--- Process 25040 loaded C:\Windows\System32\cryptsp.dll at 00007ffa28180000
--- Process 25040 loaded C:\Windows\System32\rsaenh.dll at 00007ffa27250000
--- Process 25040 loaded C:\Windows\System32\bcrypt.dll at 00007ffa28e90000
--- Process 25040 loaded C:\Windows\System32\cryptbase.dll at 00007ffa27b10000
--- Process 25040 loaded C:\Windows\System32\bcryptprimitives.dll at 00007ffa281a0000
--- Process 25040 loaded C:\Users\dontdoxpls\Desktop\cmder\vendor\conemu-maximus5\ConEmu\ConEmuHk64.dll at 00007e1100000000
--- Process 25040 thread 25204 created
--- Process 25040 thread 21648 created
--- Process 25040 thread 16420 created
--- Process 25040 thread 28384 created
--- Process 25040 thread 21212 created
--- Process 25040 thread 8304 created
--- Process 25040 thread 5732 created
--- Process 25040 thread 19088 created
--- Process 25040 thread 15156 created
--- Process 25040 thread 29212 created
--- Process 25040 thread 29892 created
--- Process 25040 thread 28188 created
--- Process 25040 thread 28292 created
--- Process 25040 thread 20504 created
--- Process 25040 thread 1768 created
--- Process 25040 thread 14520 created
--- Process 25040 thread 16080 created
--- Process 25040 thread 24820 created
--- Process 25040 thread 28384 exited with status 0x0
--- Process 25040 thread 1768 exited with status 0x0
--- Process 25040 thread 28292 exited with status 0x0
--- Process 25040 thread 20504 exited with status 0x0
--- Process 25040 thread 16080 exited with status 0x0
--- Process 25040 thread 14520 exited with status 0x0
--- Process 25040 thread 15156 exited with status 0x0
--- Process 25040 thread 24820 exited with status 0x0
--- Process 25040 thread 8304 exited with status 0x0
--- Process 25040 thread 21648 exited with status 0x0
--- Process 25040 thread 28188 exited with status 0x0
--- Process 25040 thread 19088 exited with status 0x0
--- Process 25040 thread 21212 exited with status 0x0
--- Process 25040 thread 29892 exited with status 0x0
--- Process 25040 thread 5732 exited with status 0x0
--- Process 25040 thread 29212 exited with status 0x0
--- Process 25040 thread 16420 exited with status 0x0
--- Process 25040 thread 19684 created
$ GIT_TRACE=1 git checkout develop
20:31:33.554953 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
20:31:33.559955 git.c:419               trace: built-in: git checkout develop

编辑:通过重新启动我的计算机解决了此问题。我不知道为什么它修复了它,或者是什么导致了这个问题。希望有人能找到解释。

暂时还没有答案

 类似资料:
  • 问题内容: 关键字在Google Go中是什么意思? 问题答案: 2017更新 :解析器进行了重大更新,新的解析器似乎不再支持这些复活节彩蛋字眼。 对我来说,看起来像是一个复活节彩蛋: https://github.com/golang/go/blob/08e25fc1ba397e02ec776561ed73b7f9a8b94392/src/cmd/compile/internal/gc/lex.

  • 我正在使用Jenkins进行自动化测试。我的作业运行windows可执行批处理每天早上8:00归档,并向所有定义的收件人发送和通知。我有大约15个测试用例,都通过了。TestNG结果如下: 我交叉检查了詹金的所有配置。一切都如预期的那样,我的构建仍然失败,我每次都会得到这个报告: '控制台输出 由工作区F:\Automation\MovingWalls中的计时器构建启动未触发任何电子邮件。[Mov

  • 名称(Name) git-prune - 从对象数据库中删除所有不可访问的对象 概要 git prune [-n] [-v] [--expire <expire>] [--] [<head>…] 描述 注意 在大多数情况下,用户应该运行 git gc,它调用 git prune。请参阅下面的“注意”部分。 这将git fsck --unreachable使用所有可用的引用refs/,可选地包含在命

  • 名称(Name) git-prune-packed - 删除已经在包文件中的额外对象 概要 git prune-packed [-n|--dry-run] [-q|--quiet] 描述 此程序搜索$GIT_OBJECT_DIRECTORY当前存在于包文件中的所有对象以及独立的对象目录。 所有这些额外的对象都被删除。 一个包是对象的集合,单独压缩,应用增量压缩,存储在单个文件中,并具有关联的索引文

  • 用CoreOS跑docker是不是内存消耗比较少? 但是从官网下载vmdk并且运行起来之后, 为啥连基本的命令都没的? 没ping, ifconfig命令 也没有docker命令, coreos不就是用来跑docker的么,为何连docker命令都没?

  • 这个问题可能是关于bash的,也可能是关于git的。 如果没有什么要提交的,我该如何运行命令?我做了以下操作,但它运行了命令,即使没有什么要提交的: 来自python背景,我认为如果