mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-08 21:34:25 +00:00
13 lines
297 B
Bash
13 lines
297 B
Bash
#!/usr/bin/env sh
|
|
|
|
# Sources:
|
|
# - https://stackoverflow.com/questions/8800578/how-to-colorize-diff-on-the-command-line
|
|
|
|
git diff --no-index 'file1' 'file2'
|
|
git diff --no-index --word-diff --patience 'file1' 'file2'
|
|
|
|
vimdiff 'file1' 'file2'
|
|
|
|
diff 'file1' 'file2'
|
|
diff -y -W 'width' 'file1' 'file2'
|