-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chapter diff: explain diff a little better
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|
||
|