We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8771c19 commit 627942eCopy full SHA for 627942e
git/basics.md
@@ -7,4 +7,5 @@
7
5. To unstage a file `git reset HEAD file`. To unstage all files `git reset HEAD`.
8
6. If a staged file is modified, the same file will appear under *staged* and *modified*.
9
7. Create a new branch and switch to it : `git checkout -b branch1`.
10
-8.
+8. See Modified unstaged changes: `git diff` (diffs modified and staged)
11
+9. See staged changes: `git diff --staged` (diffs staged and last commit)
0 commit comments