git 에서 checkout (HEAD branch change) 하려고 했더니


untracked working tree files would be overwritten by checkout


와 같은 에러가 나면서 진행이 안된다.



구글링 해보고

git rm --cached 

진행해 보았지만 여전히 마찬가지.



track 중인 파일의 대소문자가 변경된 경우에도 이 현상이 발생한다고 한다.

core.ignorecase 설정을 true 로 변경해서 진행 가능하다고.


 git config --global core.ignorecase true


위와 같이 설정할 수 있다.


설정된 상황은

 git config --global --list 

로 확인 가능하다.



해보니 git checkout 할 때 더이상 문제가 발생하지 않는다!!!!!



출처 : http://belouder.blog.me/220694793552

'Programming > Git' 카테고리의 다른 글

git 강제 push (Local -> Remote)  (0) 2017.06.12

+ Recent posts