我在运行
git gc --prune=now
获取结果
Counting objects: 100% (619263/619263), done.
Delta compression using up to 8 threads
Compressing objects: 100% (132698/132698), done.
Writing objects: 100% (619263/619263), done.
Total 619263 (delta 316177), reused 608671 (delta 305796)
Unlink of file '.git/objects/pack/pack-15e469b10c92d51ece59ad7c055fc1ac64ff3056.pack' failed. Should I try again? (y/n) y
Unlink of file '.git/objects/pack/pack-15e469b10c92d51ece59ad7c055fc1ac64ff3056.pack' failed. Should I try again? (y/n) n
Unlink of file '.git/objects/pack/pack-4b025e2c952e34cf7b721520909ab216f6223fb3.pack' failed. Should I try again? (y/n)
为什么会这样?如何避免与要求输入 y/n 的命令交互?