This commit is contained in:
cupcakearmy 2023-02-21 22:58:27 +01:00
commit ea02c54864
No known key found for this signature in database
GPG Key ID: 3235314B4D31232F

12
docs/cli/diff.md Normal file
View File

@ -0,0 +1,12 @@
---
tags:
- diff
---
# See difference between files / directories
```bash
diff -ry dir1 dir2
```
The `-r` flag is to recurse into folders. The `-y` flag creates a side by side view, generally easier to read. `-q` Would only show what filenames changed.