Scroll to navigation

STG-DIFF(1) StGit Manual STG-DIFF(1)

NAME

stg-diff - Show the tree diff

SYNOPSIS

stg diff [options] [--] [<files or dirs>]

DESCRIPTION

Show the diff (default) or diffstat between the current working copy or a tree-ish object and another tree-ish object (defaulting to HEAD). File names can also be given to restrict the diff output. The tree-ish object has the format accepted by the stg-id(1) command.

OPTIONS

-r rev1[..[rev2]], --range rev1[..[rev2]]

Show the diff between revisions.

-s, --stat

Show the stat instead of the diff.

-O OPTIONS, --diff-opts OPTIONS

Extra options to pass to "git diff".

STGIT

Part of the StGit suite - see stg(1)

09/02/2017 StGit