git/list[1] front-page[2] threads[3] people[4] search[5] about
 

error: could not read '.git/rebase-apply/head-name': No such file or directory

From
EKEugen 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
Next: Johannes Schindelin
Message 1 of 2 in “error: could not read '.git/rebase-apply/head-name': No such file or directory”
  1. Eugen KonkovSep 12, 2019
  2. Johannes SchindelinSep 12, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.