From f726025e4684d6194016f4d84526e571f93a60cb Mon Sep 17 00:00:00 2001 From: Michael Lohmann Date: Tue, 23 Jan 2024 21:00:48 +0100 Subject: [PATCH] chapter diff: explain diff a little better --- src/02_status_diff/status.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/02_status_diff/status.md b/src/02_status_diff/status.md index 5d858f9..6ad80dd 100644 --- a/src/02_status_diff/status.md +++ b/src/02_status_diff/status.md @@ -1,5 +1,5 @@ One of the most used git commands is `git status` to see the current state (as in: Do I have uncommitted changes? Do I have changes locally that are not synced yet with the server ("pushed")?) -Another important tool is `git diff` that by default without further parameters shows the difference between the "working directory" (the files as you see them) and the "staging area" (the things you prepared to commit next). In other words: it shows only the difference to what would be committed next. +Another important tool is `git diff` that by default without further parameters shows the difference between the "working directory" (the files as you see them) and the "staging area" (the things you prepared to commit next), so basically the changes that would be left out from. In other words: it shows only the difference to what would be committed next.