2

I have a folder which contains .patch files only. When I run a command

for myPatch in /d/FolderWithPatches/*.patch; do git am "$myPatch"; done

I receive a fatal: previous rebase directory .git/rebase-apply still exists but mbox given. error. I tried both using git am --abort and simply deleting the rebase-apply folder - neither of this helped actually. Can you help me to fix my issue?

EDIT: I know the issue on Git error: previous rebase directory .git/rebase-apply still exists but mbox given. The answers provided there don't help me to deal with the problem.

el_nektarin
  • 343
  • 1
  • 14
  • @phd Obviously I looked at the link you provided before I posted the question, I've searched all the Internet before it. – el_nektarin Jan 16 '20 at 15:41
  • Did the `rebase-apply` directory actually go away? The `/d/` suggests maybe you're on Windows, and sometimes Windows won't remove things. – torek Jan 16 '20 at 19:05

0 Answers0