Git cli not terminating on pull --rebase

自作多情 提交于 2020-01-03 03:25:13

问题


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) 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.

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?


回答1:


This was seen in git-for-windows/git issue 1630 for Git for Windows 2.13 to 2.17.

We are constantly haunted by anti-malware triggering by mistake on our fork of the Cygwin runtime, which is needed to execute Unix shell scripts (and git stash is implemented as such).

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

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



来源:https://stackoverflow.com/questions/48335508/git-cli-not-terminating-on-pull-rebase

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!