If you mean the changes between the working tree and your HEAD commit (i.e. both staged and unstaged changes together) this is just done with:
git diff HEAD
More Related Contents:
- How can I see the changes in a Git commit?
- How to grep (search) committed code in the Git history
- How do I view ‘git diff’ output with my preferred diff tool/ viewer?
- How to compare a local Git branch with its remote branch
- Can I make git recognize a UTF-16 file as text?
- What is `git diff –patience` for?
- Can I use git diff on untracked files?
- How to see the changes between two commits without commits in-between?
- Filter git diff by type of change
- use Winmerge inside of Git to file diff
- In the context of git (and diff), what is a “hunk”
- Where does the excerpt in the git diff hunk header come from?
- What does “@@ -1 +1 @@” mean in Git’s diff output?
- Git: How can I find a commit that most closely matches a directory?
- diff returning entire file for identical files
- Git Diff of same files in two directories always result in “renamed”
- Make ‘git diff’ ignore ^M
- How resolve multiple conflicts with “git mergetool” without having to close the editor between files?
- What does the “@@…@@” meta line with at signs in svn diff or git diff mean?
- How can I get a git submodule’s associated commit ID from a past commit in the parent clone?
- Viewing all `git diffs` with vimdiff
- View differences of branches with meld?
- How can I visualize per-character differences in a unified diff file?
- How to apply `git diff` patch without Git installed?
- Highlight changed lines and changed bytes in each changed line
- Diffing between two entire directories/projects in hg or git?
- Show git diff, ignoring file permission changes?
- How to perform a three-way diff in Git without merging?
- Using git diff, how can I get added and modified lines numbers?
- How to make ‘git diff’ ignore comments