IDEA中的git Rebasing状态一直不消失,取消也报错问题


IDEA中的git Rebasing状态一直不消失,取消也报错问题

1
2
3
4
5
6
7
8
9
10
11
12
13
14
2020/11/13
15:21   Rebase Abort Failed
            could not read '.git/rebase-apply/head-name': No such file or directory
            Show details in console

15:42   Continue Rebase Failed
            could not read '.git/rebase-apply/head-name': No such file or directory
            Retry   Abort

15:42   Can't Abort Rebase
            No rebase in progress
           
15:42:14.609: [xxx] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false -c core.commentChar= rebase --continue
error: could not read '.git/rebase-apply/head-name': No such file or directory

解决方法

找到项目对应的目录,打开.git目录,如果找不到可能设置了隐藏,进入该目录之后将rebase-apply文件夹删除即可
在这里插入图片描述