3 Commits

Author SHA1 Message Date
6bb3edc0f0 Added images for the log and blame 2025-09-11 13:23:29 +05:30
de8a308ff7 new commit 2025-09-11 12:28:32 +05:30
c0027ad789 merging 2025-09-11 12:05:10 +05:30
10 changed files with 34 additions and 3 deletions

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

@@ -0,0 +1,30 @@
## Part 1: Viewing File History
![git log -- example.txt](<git log example.png>)
![git log -p -- example.txt](<git log example2.png>)
![git log -p -- example.txt](<git log example3.png>)
![git log --oneline -- example.txt](<git log online example.png>)
## How many commits modified this file?
3
## 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
![git blame example.txt](<git blame.png>)
![git blame -L 1,5 example.txt](<git balme 1.png>)
![git blame -e example.txt](<git balme 2.png>)
## Who changed each line of the file?
solomon, Murali
## 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 changes in the file.

View File

@@ -1,4 +1,4 @@
Hello World Hello World
Today Tech Tharsday git merge Today Tech Tharsday
Mark my words Mark my words
hello aji lalaa

BIN
git balme 1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
git balme 2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

BIN
git blame.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

BIN
git log example.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

BIN
git log example2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

BIN
git log example3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

BIN
git log online example.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

View File

@@ -1,2 +1,3 @@
-This is my first note -This is my first note
-Hello everyone -Hello everyone
hello