2 Commits

Author SHA1 Message Date
28be508f13 edited 2 line 2025-09-11 11:32:52 +05:30
43db717f5c hello aji 2025-09-11 11:31:50 +05:30
10 changed files with 3 additions and 34 deletions

View File

@ -1,30 +0,0 @@
## 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
Today Tech Tharsday
Today Tech Tharsday git merge
Mark my words
lalaa
hello aji

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

View File

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