GitCheatSheet.org logo
Home / How To

Show the changes of both staged and unstaged files since the last commit

git diff HEAD

Shows what changed since the last commit (both staged and unstaged files). Note: you can use "--cached" instead of "--staged". They mean the same thing.