Using msysgit 1.7.0.2, when doing git rebase -i, it hangs and there's no message. After enter ctrl+c, I can see 'unlink of file failed, should I try again (y/n)?' Then I tried git rebase --abort but got same error message. So now it's stuck in the middle of rebase process. This error seems like caused by read-only file. Is there any way to resolve this issue? Thanks.again (y/n)?'
+1
A:
Did you try with set GIT_ASK_YESNO=false
?
This Google group thread mentions it in the recent mingw evolutions:
Make use of the new environment variable
GIT_ASK_YESNO
to support the recently implemented fallback in caseunlink
,rename
orrmdir
fail for files in use on Windows.
What exact version of Git for windows are you using?
Note: msysgit setup is not the same than the "Git for Windows" setup, see also "Different between msysgit and cygwin + git ?")
VonC
2010-09-13 07:35:25