$ patch --batch -N -p0 -i xxx.patch patching file node_modules/foo/bar/xxx Reversed (or previously applied) patch detected! Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file node_modules/foo/bar/xxx.rej