feat: add understanding for diffs
This commit is contained in:
@@ -94,6 +94,14 @@ git diff <commit1> <commit2> <file>
|
||||
```
|
||||
Compare changes to a specific file between two commits.
|
||||
|
||||
**Understanding diff output:**
|
||||
- Lines with `+` (green) = added
|
||||
- Lines with `-` (red) = removed
|
||||
- Lines with ` ` (space) = unchanged (context)
|
||||
- `@@ -1,5 +1,7 @@` = location of changes (old line/count, new line/count)
|
||||
|
||||
For a detailed guide on reading diff output, see Module 02 README.md.
|
||||
|
||||
### Branching
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user