crow
crow

Reputation: 49

Git rebase error: No such file or directory

I was going to do a rebase to update my last commit but I didn't want to finish so I exited. (I realize this probably was not the best way to go about it, but it's done) I guess I did it wrong because I am getting the error:

su@sun-PC MINGW64 /e/learninggit/git_learning (|REBASE-m)
$ git rebase --continue
error: could not read '.git/rebase-merge/head-name': No such file or directory

How do I get rid of this error so I can continue making commits? I have no effect using the git rebase --abort command.

Upvotes: 4

Views: 5523

Answers (1)

Marc-Aurel
Marc-Aurel

Reputation: 1134

git rebase --quit will exit rebase mode while leaving your working tree unchanged

Upvotes: 3

Related Questions