在 windows11 上先装了 msys2+zsh+ohmyzsh 后,打开项目执行git status
要刷新几秒才出结果。
后来又装了git for windows以后,也同样配置了 zsh+ohmyzsh,执行瞬间就出来了。很奇怪,不知道什么原因。msys2 每次执行 git status 都会 refresh index
我录了个简单的视频,麻烦大家有经验的帮我看一下,谢谢
左边的是git for windows
,右边的是msys2
视频地址: https://i.pages.dev/obj/tos-cn-v-d489f6/ooI5IAEAsfBclJGf4LGOe6Be47cBFIAAQxf2IV