# [BUG] interactive rebase loses instruction sheet when aborting to avoid overwriting files

1 messages from 2014-12-19 to 2014-12-19. Participants: ydirson@free.fr.
Thread: https://gitlist.dev/t/38201

## ydirson@free.fr, 2014-12-19 09:42

Subject: [BUG] interactive rebase loses instruction sheet when aborting to avoid overwriting files
Message-ID: <1075489045.367270447.1418982175581.JavaMail.root@zimbra39-e7.priv.proxad.net>
URL: https://gitlist.dev/e/1075489045.367270447.1418982175581.JavaMail.root%40zimbra39-e7.priv.proxad.net
In-Reply-To: <1009315412.367253372.1418981868176.JavaMail.root@zimbra39-e7.priv.proxad.net>

```
[using v2.1.3]

When using "rebase -i" and the working dir contains untracked files that are present
in the new base, we correctly get a "would be overwritten by checkout" error, but then
the whole rebase interrupts the (long) listing of the incriminated files in the middle
of a line and terminates with:

Aborting
could not detach HEAD

And consequently we are not rebasing any more, and the precious instruction sheet has been
lost.

```
