diff options
author | David Symonds <dsymonds@gmail.com> | 2008-10-29 09:15:36 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-11-11 14:55:43 -0800 |
commit | 2baf1850ceb01dfbee862e30f2a69cf6064e13eb (patch) | |
tree | cae035c295bd03571c99d761538c8b7aba3df13e /Documentation/git-diff.txt | |
parent | 36bd844658cf244ec2c6756c18673a4b7ed8ec9e (diff) | |
download | git-2baf1850ceb01dfbee862e30f2a69cf6064e13eb.tar.gz git-2baf1850ceb01dfbee862e30f2a69cf6064e13eb.tar.xz |
git-diff: Add --staged as a synonym for --cached.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-diff.txt')
-rw-r--r-- | Documentation/git-diff.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/git-diff.txt b/Documentation/git-diff.txt index c53eba557..a2f192fb7 100644 --- a/Documentation/git-diff.txt +++ b/Documentation/git-diff.txt @@ -33,6 +33,7 @@ forced by --no-index. commit relative to the named <commit>. Typically you would want comparison with the latest commit, so if you do not give <commit>, it defaults to HEAD. + --staged is a synonym of --cached. 'git diff' [--options] <commit> [--] [<path>...]:: |