[에러] fatal: will not add file alias 깃허브 에러

popolarburr·2023년 3월 30일
0

발생 에러 : fatal: will not add file alias ~~


에러 예시 :('src/main/java/com/.../line/Line.java' already exists in index)


발생원인 : 커밋할 때 수정하기 전 파일 이름과 수정 후의 이름의 대소문자 ignorecase 떄문에 생기는 오류. 깃허브에서는 같다고 판단.


따라서 이 기능을 꺼야함(난 로컬에서만 끔)


git config --local core.ignorecase false
profile
차곡차곡

0개의 댓글