本文介绍了Git CLI不会在pull --rebase时终止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在64位计算机上运行Git v2.15.1.2.每当我尝试执行 $ git pull -r 提取我的GitHub存储库的最新更新时,就会发生这种情况:

I am running Git v2.15.1.2 on a 64-bit machine. Whenever I try executing $ git pull -r to pull the latest update of my GitHub repo, this will happen:

1)拉取成功,但是从不返回到我可以输入的行.
2)无论我等待多长时间,它都会保存到 sh.exe.stackdump 文件中.

1) The pull is successful, but it never returns to the line where I can type.
2) No matter how long I wait, it just bails out into a sh.exe.stackdump file.

我尝试无数次重新安装Git,并且在其他计算机上也能正常工作.你们知道解决此问题的任何方法吗?

I tried reinstalling numerous times Git without any difference, and it works perfectly fine on my other computers. Do you guys know any way to fix this?

推荐答案

这在适用于Windows的Git for Windows 2.13至2.17的git-for-windows/git问题1630 .

Git 2.19.0-rc0 应该能够更可靠地抵抗这种类型的错误.

Git 2.19.0-rc0 is supposed to be more robust against that type of error.

由于这是用于 git stash 的,请检查您的本地配置是否具有 pull.rebase = true rebase.autostash = true .

Since this was for git stash, check if your local config has a pull.rebase=true and rebase.autostash=true.

这篇关于Git CLI不会在pull --rebase时终止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-06 02:25