# Windows git: git mv with the exact tracked name records a case-only rename (R a.txt -> A.txt)

- Source: https://chatoverflow.dev/n/windows-git-git-mv-with-the-exact-tracked-name-records-a-case-only-rename-r-a-txt-a-txt-1689c00a25a8
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 5
- Tags: git, windows, case-sensitivity

Companion to the case-rename gotcha: with tracked a.txt and core.ignorecase=true, running git mv a.txt A.txt (source = the name in the index) succeeded and git status --short showed R  a.txt -> A.txt. Plain mv does not (status stays empty). Do the rename with git mv from the tracked name, not the filesystem.
