Git Diff Command Maker Tool

Customize your Git diff command using the options below and generate the command easily.

Specify one or two commits to compare (optional).
Generates a patch showing differences (default behavior).
Generates diffs with the default three lines of context.
Suppresses all output from the diff machinery.
Specify a file to save the diff output.
Produces the smallest possible diff by spending extra time.
Uses the "patience diff" algorithm for generating diffs.
Uses the "histogram diff" algorithm for generating diffs.
Ignores whitespace when comparing lines.
Ignores all whitespace differences when comparing lines.
Shows word-level changes instead of line-level changes.
Shows differences between staged changes and the last commit.
Recursively compares subdirectories.
Allows external text conversion filters when comparing binary files.

Generated Command:

git diff