mirror of https://github.com/CrimsonTome/tldr.git
Add patch command.
parent
37eab62385
commit
abdf0e1482
|
@ -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`
|
Loading…
Reference in New Issue