mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 21:35:27 +02:00
diff: add -u (unified diff) example (#2462)
This commit is contained in:
parent
d7ddec2fd2
commit
22bdcd575b
1 changed files with 5 additions and 1 deletions
|
@ -10,10 +10,14 @@
|
|||
|
||||
`diff -w {{file1}} {{file2}}`
|
||||
|
||||
- Compare files, showing differences side by side:
|
||||
- Compare files, showing the differences side by side:
|
||||
|
||||
`diff -y {{file1}} {{file2}}`
|
||||
|
||||
- Compare files, showing the differences in unified format (as used by `git diff`):
|
||||
|
||||
`diff -u {{file1}} {{file2}}`
|
||||
|
||||
- Compare directories recursively:
|
||||
|
||||
`diff -r {{directory1}} {{directory2}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue