Show differences in working branch

suggest change
git 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.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents