I changed all filenames in a folder to lowercase (in Windows CDM as here explained):
$ D:\
$ cd my\folder
$ for /f "Tokens=*" %f in ('dir /l/b/a-d') do (rename "%f" "%f")
Now I expected git status
to display me the changes, that I could add
& commit
. But Git seems to ignore these renamings.
As workaround I can e.g. rename the folder, commit
it, rename it back and commit
it again. Or something like this. But I'd like to find a "healthy" solution.
I also don't want to rename with git mv
. So what I'm looking for is, how to (rename with OS tools and then) commit
the filename (case) changes.
Is there a way / How to commit
case changes in filenames, after the changes have already been made (means: without git mv
)? (Perhaps with some Git configurations?)