6 Commits

3 changed files with 105 additions and 82 deletions

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.

9
assignment.txt Normal file
View File

@@ -0,0 +1,9 @@
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