15 lines
725 B
Markdown
15 lines
725 B
Markdown
## 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.
|
|
|
|
|
|
|