Usage
shellpatch OPTIONS ORIGINAL_FILE PATCH_FILE
| Option | Description |
|---|
-p | Strip the smallest prefix containing num leading slashes from each file name found in the patch file. |
Example
Apply a patch generated by git diff:
shellpatch -p1 < git_diff.patch