Updated the readme file
This commit is contained in:
14
README.md
Normal file
14
README.md
Normal 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.
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user