gg diff
gg diff [--stat] [-c REV | -r REV1 [-r REV2]] [FILE [...]]
diff repository (or selected files)
Options
- -b
- -ignore-space-change
- ignore changes in amount of whitespace
- -B
- -ignore-blank-lines
- ignore changes whose lines are all blank
- -c rev
- change made by revision
- -U string
- number of lines of context to show
- -r rev
- revision
- -stat
- output diffstat-style summary of changes
- -w
- -ignore-all-space
- ignore whitespace when comparing lines
- -Z
- -ignore-space-at-eol
- ignore changes in whitespace at EOL
- -M percent
- report new files with the set percentage of similarity to a removed file as renamed
- -C percent
- report new files with the set percentage of similarity as copied
- -copies-unmodified
- whether to check unmodified files when detecting copies (can be expensive)