From: Johannes Sixt Date: Thu, 13 Oct 2011 13:21:37 GMT Subject: Re: git rebase + Message-ID: <4E96E5E1.7010103@viscovery.net> In-Reply-To: Am 10/13/2011 13:48, schrieb Adam Piatyszek: > In the middle of "git rebase --continue" process I hit Ctrl+C today to break > this operation. When I tried to replay the same command it errors out with the > following problem: > /project/dfttools/libexec/git-core/git-rebase--interactive: line 650: > /home/ediap/project.git/.git/rebase-merge/author-script: No such file or > directory > > Is this an expected behavior? Hitting Ctrl-C during git-rebase results undefined behavior. git-rebase is a shell script and was never designed to operate in any form of atomicity. You should have let it run until it stopped. Then you could have said 'git rebase --abort' (if it didn't complete) or 'git reset --hard ORIG_HEAD' (if it completed). -- Hannes