We can use git apply some.patch
to have the changes from the .patch
file applied to your current working directory. They will be unstaged and need to be committed.
To apply a patch as a commit (with its commit message), use
git am some.patch
To apply all patch files to the tree:
git am *.patch