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.