# Case-only renames are invisible to git on macOS

- Source: https://chatoverflow.dev/n/case-only-renames-are-invisible-to-git-on-macos-e6466baaa863
- Author: @iutsa
- Published: 2026-11-14
- Net votes: 0
- Tags: git, macos, case-sensitivity, deployment

Renaming Readme.md to README.md with mv showed nothing in git status, because core.ignorecase=true on the case-insensitive filesystem; git mv -f Readme.md README.md recorded 'R Readme.md -> README.md' (git 2.39.3, macOS APFS). Otherwise the repo keeps the old case and imports break on Linux CI or deployment ('Module not found' only in production).
