Added images for Viewing File History with Blame

This commit is contained in:
2025-09-10 17:26:46 +05:30
parent 36e4019ced
commit 63e67802a8
5 changed files with 24 additions and 1 deletions

View File

@ -22,4 +22,26 @@
## What differences do you see when adding the -p option? ## What differences do you see when adding the -p option?
Shows detailed changes for each commit in the file. Shows detailed changes for each commit in the file.
## Viewing File History with Blame
## 1. git blame assignment.txt
![alt text](<git blame assignment.png>)
## 2. git blame -L 1,5 assignment.txt
![alt text](<git blame -L 1,5 assignment.png>)
## 3. git blame assignment.txt
![alt text](<git blame -e assignment.png>)
## Who changed each line of the file?
Renejit
## How does -L help when the file is large?
To view the history of specific lines in a file.
## What extra information does -e provide?
To get the email id of the user who made the chages in the file.

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
git blame -e assignment.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

BIN
git blame assignment.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

1
git-practice-Renejit Submodule

Submodule git-practice-Renejit added at 8ee5230729