First page Back Continue Last page Overview Text

Notes:


To see the differences between the working directory and the staging area, use “git diff”.

If you want to see the changes scheduled to become the next commit, use “git diff --staged”.

“git diff HEAD” shows you the diff between the working directory and the latest commit.

Finally you can use “git diff <from> <to>” to see the differences between any two commits in the repository.