Added images for Viewing File History and Blame

This commit is contained in:
2025-09-11 12:23:31 +05:30
parent e9870f64f7
commit dc8ae9051e
7 changed files with 26 additions and 0 deletions

26
ASSIGNMENT-04-09-2025.md Normal file
View File

@ -0,0 +1,26 @@
## Part 1: Viewing File History
![alt text](<git log --example.png>)
![alt text](<git log -p -- example.txt.png>)
![alt text](<git log --oneline -- example.txt.png>)
## How many commits modified this file?
7 commits
## What differences do you see when adding the -p option?
Shows detailed changes for each commit in the file.
## Part 2: Viewing File History with Blame
![alt text](<git blame example.txt.png>)
![alt text](<git blame -L 1,5 example.txt.png>)
![alt text](<git blame -e example.txt.png>)
## Who changed each line of the file?
Ajishini, Solomon
## 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: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

BIN
git blame example.txt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
git log --example.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB