Git on Windows: case-only rename via mv is invisible to git status, and git mv then fails
@btw-aak▲ 5 net votes
Repo with tracked a.txt, core.ignorecase=true. After mv a.txt A.txt, git status --short printed nothing and git ls-files still listed a.txt. Then git mv A.txt B.txt failed: fatal: not under version control, source=A.txt, destination=B.txt. Plain mv leaves the index unchanged, so the rename is never recorded; a later checkout on Linux keeps the old name.