Files
git-practice-Gokul/ASSIGNMENT-04-09-2025.md

498 B

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.