13 Commits

8 changed files with 142 additions and 82 deletions

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

@@ -0,0 +1,25 @@
## Viewing File History
## 1. git log -- assignment.txt
![alt text](<git log-p--filename.png>)
## 2. git log -p -- assignment.txt
![alt text](<git log--filename.png>)
![alt text](<git log-p--filename1.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.

14
README.md Normal file
View File

@@ -0,0 +1,14 @@
## why Git is not tracking this case-only rename?
Windows/macOS filesystems are case-insensitive they treat both names as the same file.So when you rename only by case, the OS reports no change.
## Provide the correct steps to make Git recognize and commit the rename:
force Rename command : git mv -f readme.md Readme.md
## Explain the underlying reason why this happens (hint: think about how Git interacts with different operating systems and filesystems).
1. Git was designed for Linux, where filesystems are case-sensitive.
2. Windows/macOS filesystems are case-insensitive they treat both names as the same file.So when you rename only by case, the OS reports no change.

21
assignment.txt Normal file
View File

@@ -0,0 +1,21 @@
git log -- <filename> :
shows the commmit message for a specific file.
git log -p --<filename> :
shows line by line changes for each commmit in a specific file
git log --oneline --<filename> :
shows commit history in short form for the specific file
Tel No: Mandatory 8 characters
git clone for specific branch git clone --branch <branch-name> --single-branch <repo-url>
Renewal Flow
Reshop Flow
Mortgage Inaccurate Flow
Paid/Unpaid Flow
Insured Billing & Mortgage Billing Flow

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

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB