I am trying to apply multiple patches from one git repository to another. I've created the patches with (I want the 13 latest changes):
cd repoA
git format-patch -13 -o ..\patch-directory
cd ..\repoB
git am ..\patch-directory\*.patch
This gives:
fatal: could not open '..\patch-directory\*.patch' for reading: Invalid argument
A very similar question, seem to indicate this is the correct method (how to apply multiple git patches in one shot), yet it doesn't work. I can apply the patches individually, by passing the full filenames in multiple commands (and, I could easily create a script to apply them one-by-one), but, I'd like to know why this isn't working.
I am using git version 2.9.2.windows.1
.