前言
本来还在愉快的写 shitcode,想要rebase的时候git 居然卡在了 waiting for your editor to close the file ¿¿¿

然后打开 taskmgr 一看,不会是Chrome寄生到git上了吧?

然后尝试把 notepad 换成 code,还是不行。
解决方法
我发现这还是个概率问题,有70%的概率能稳定触发。
肯定是池塘干的(x
解决方法就是使用绝对路径:
git config --global core.editor C:\\Windows\\system32\notepad.exe
修复完之后,就不会有这个问题了。
我也不知道是什么问题,反正能用就行