mirror of
https://github.com/cheat/cheat.git
synced 2025-09-06 12:03:00 +02:00
diff addition
This commit is contained in:
@ -21,3 +21,6 @@ diff -s version1 version2
|
|||||||
|
|
||||||
# To diff the output of two commands or scripts:
|
# To diff the output of two commands or scripts:
|
||||||
diff <(command1) <(command2)
|
diff <(command1) <(command2)
|
||||||
|
|
||||||
|
# Generate a patch file from two files
|
||||||
|
diff -Naur version1 version2 > version.patch
|
Reference in New Issue
Block a user