diff --git a/ASSIGNMENT-04-09-2025.md b/ASSIGNMENT-04-09-2025.md index e69de29..c4a83f3 100644 --- a/ASSIGNMENT-04-09-2025.md +++ b/ASSIGNMENT-04-09-2025.md @@ -0,0 +1,30 @@ +## Part 1: Viewing File History +![git log -- example.txt]() + +![git log -p -- example.txt]() + +![git log -p -- example.txt]() + +![git log --oneline -- example.txt]() + +## 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 -L 1,5 example.txt]() + +![git blame -e example.txt]() + +## 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. \ No newline at end of file diff --git a/git balme 1.png b/git balme 1.png new file mode 100644 index 0000000..e42defb Binary files /dev/null and b/git balme 1.png differ diff --git a/git balme 2.png b/git balme 2.png new file mode 100644 index 0000000..281c90e Binary files /dev/null and b/git balme 2.png differ diff --git a/git blame.png b/git blame.png new file mode 100644 index 0000000..e7afffa Binary files /dev/null and b/git blame.png differ diff --git a/git log example.png b/git log example.png new file mode 100644 index 0000000..42c3a5e Binary files /dev/null and b/git log example.png differ diff --git a/git log example2.png b/git log example2.png new file mode 100644 index 0000000..435a7ac Binary files /dev/null and b/git log example2.png differ diff --git a/git log example3.png b/git log example3.png new file mode 100644 index 0000000..159a3ed Binary files /dev/null and b/git log example3.png differ diff --git a/git log online example.png b/git log online example.png new file mode 100644 index 0000000..e63ab1a Binary files /dev/null and b/git log online example.png differ