Skip to content

Commit 610ceeb

Browse files
committed
feat(applying-patch): improve documentationo to also mention git apply as alternative
Signed-off-by: Simon L. <[email protected]>
1 parent 17abd85 commit 610ceeb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

admin_manual/issues/applying_patch.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ Patching server
2828

2929
patch -p 1 < /path/to/the/file.patch
3030

31+
3. Alternatively, if the patch command is not available, use::
32+
33+
git apply --check /path/to/the/file.diff
34+
git apply /path/to/the/file.diff
35+
3136
Patching apps
3237
^^^^^^^^^^^^^
3338

@@ -42,6 +47,10 @@ Reverting a patch
4247

4348
patch -R -p 1 < /path/to/the/file.patch
4449

50+
3. Alternatively, if the patch command is not available, use::
51+
52+
git apply --reverse /path/to/the/file.diff
53+
4554
Notes and troubleshooting
4655
-------------------------
4756

0 commit comments

Comments
 (0)