Compare branches
suggest changeShow the changes between the tip of new and the tip of original:
git diff original new # equivalent to original..new
Show all changes on new since it branched from original:
git diff original...new # equivalent to $(git merge-base original new)..new
git diff original compares the working tree to original, including unstaged edits. It is not the same as git diff original..HEAD, which compares the two commits and ignores unstaged work.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents