Letting git know that the file has been renamed - OS X file renamed from lowercase to uppercase displays as unscreen

I renamed the folder without using git mv or any other git command, from lowercase to uppercase, now git shows the new folder as untracked and at the same time tracking files inside the folder.

I renamed "Jogo do rato" to "Jogo do Rato" and then did git add -all . git found new files and changed them, but now it shows every folder inside "Jogo do Rato" as not checked. I would like to get rid of these "unsung" files, but I lost as a way to go.

I use OS X Snow Leopard, my drive is on Mac OS Extended (Journaled), case insensitive and git version 1.6.6.

Hi,

Sergiu

+7
source share
1 answer

I manage to find a way to solve the problem. I changed the core.ignorecase configuration core.ignorecase from true to false , re-added the files that git always considered as new files, and made my changes.

I am still looking to see if I have lost something or something in a condition that should not be, but I think I was able to solve this problem.

+6
source

All Articles