Skip to content

Commit

Permalink
chapter diff: explain diff a little better
Browse files Browse the repository at this point in the history
  • Loading branch information
miallo committed Jan 23, 2024
1 parent 0242973 commit f726025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/02_status_diff/status.md
Original file line number Diff line number Diff line change
@@ -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.


0 comments on commit f726025

Please sign in to comment.