Show differences in working branch
suggest changegit diff
This shows unstaged changes: the working tree compared with the index, not with the previous commit. It is what you could add to the next commit, but have not. To stage these changes, use git add. git diff HEAD also includes changes that are already staged.
If a file is staged, but was modified after it was staged, git diff will show the differences between the current file and the staged version.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents