Skip to content

Latest commit

 

History

History

git-diff

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

git diff-*

Show diff in various ways

Git alias:

diff-all = !"for name in $(git diff --name-only $1); do git difftool $1 $name & done"
diff-changes = diff --name-status -r
diff-stat = diff --stat --ignore-space-change -r
diff-staged = diff --cached

# Diff using our preferred options. A.k.a. `dd`.
diff-deep = diff --check --dirstat --find-copies --find-renames --histogram --color

Example:

git diff-all
git diff-changes
git diff-stat
git diff-deep