Events2Join

cached [||merge|base] [] [||] […​] git diff []


cached [--merge-base] [] [--] […​] git diff []

Show changes between the working tree and the index or a tree, changes between the index and a tree, changes between two trees, changes resulting from a merge.

git-diff Documentation - Git

... Git. This form implies --exit-code . git diff [] --cached [--merge-base] [] [--] […​]. This form is to view the changes you staged for ...

git diff merge-base with working tree (using ... notation)

Update Nov. 2020: Yes, that is now possible. Running git diff --merge-base is equivalent to running git diff $(git merge-base ...

Git - git-diff Documentation

This form is to view the changes you made relative to the index (staging area for the next commit). In other words, the differences are what you could tell Git ...

git-diff(1) - MIT

This form implies --exit-code . git diff [] --cached [--merge-base] [] [--] […].

git-diff.txt - Apple Open Source

This behavior can be forced by --no-index. 'git diff' [--options] --cached [] [--] [...]:: This form is to view the changes ...