mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
Add patch command.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#patch
|
||||
|
||||
> Patch a file or files with a diff file.
|
||||
|
||||
- apply a patch
|
||||
|
||||
`patch < {{patchfile}}.diff`
|
||||
|
||||
- apply a patch to current directory
|
||||
|
||||
`patch -p1 < {{patchfile}}.diff`
|
||||
|
||||
- reverse a patch
|
||||
|
||||
`patch -R < {{patchfile}}.diff`
|
||||
Reference in New Issue
Block a user