How to see all unstaged changes?
git diff
To see all unstaged changes use git diff
. The command shows all your unstaged changes for the files tracked by git.
git status
On branch main
Changes not staged for commit:
(use "git add/rm..." to update what will be committed)
(use "git restore..." to discard changes in working directory)
modified: README.md
deleted: logo.png
no changes added to commit (use "git add" and/or "git commit -a")
git diff
diff --git a/README.md b/README.md
index bffc861..4dc741c 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1 @@
-Hello World!
-ASD
+This is a playground repository for githint.com
diff --git a/logo.png b/logo.png
deleted file mode 100644
index a917f69..0000000
Binary files a/logo.png and /dev/null differ
See git diff to learn more about it.