Added images for Viewing File History

This commit is contained in:
2025-09-10 16:09:37 +05:30
parent 6be5cb4f32
commit 24faea97fe
5 changed files with 23 additions and 0 deletions

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

@ -0,0 +1,23 @@
## Viewing File History
## 1. git log -- assignment.txt
![alt text](git log -- filename.png)
## 2. git log -p -- assignment.txt
![alt text](git log -p -- filename.png)
![alt text](git log -p -- filename 1.png)
## 3. git log --oneline -- assignment.txt
![alt text](git log --oneline -- filename.png)
## How many commits modified this file?
3 commits
## What differences do you see when adding the -p option?
Shows detailed changes for each commit in the file.

BIN
git log -- filename.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

BIN
git log -p -- filename.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB