error: could not read '.git/rebase-apply/head-name': No such file or directory
- From
- Eugen Konkov <kes-kes@yandex.ru>
- Date
- Sep 12, 2019, 07:12 UTC
- Message-ID
- <386490889.20190912101245@yandex.ru>
Hello Git,
Next commands cause the error:
$ git pull
fatal: It seems that there is already a rebase-apply directory, and
I wonder if you are in the middle of another rebase. If that is the
case, please try
git rebase (--continue | --abort | --skip)
If that is not the case, please
rm -fr ".git/rebase-apply"
and run me again. I am stopping in case you still have something
valuable there.$ git rebase --abort error: could not read '.git/rebase-apply/head-name': No such file or directory
$ git --version git version 2.20.1
$ rm -fr ".git/rebase-apply"
$ git rebase --abort error: could not read '.git/rebase-apply/head-name': No such file or directory
$ git pull
fatal: It seems that there is already a rebase-apply directory, and
I wonder if you are in the middle of another rebase. If that is the
case, please try
git rebase (--continue | --abort | --skip)
If that is not the case, please
rm -fr ".git/rebase-apply"
and run me again. I am stopping in case you still have something
valuable there.I resolved this issue by git checkout -f some_br
But this issues should not occur
-- Best regards, Eugen Konkov