git add . 을 하려고 했더니 다음과 같은 오류가 발생하면서 git add 가 안됨
error: short read while indexing nul
error: nul: failed to insert into database
error: unable to index file 'nul'
fatal: adding files failed
이게 뭔일인가 봤더니 프로젝트 루트에 nul이라는 파일이 생성이 되어있고 삭제나 이름 변경이 안됨 ㅋㅋㅋㅋ
당연히 내가 이 파일을 만들었을리는 없고 검색하다보니 다음 링크가 뙇
https://github.com/anthropics/claude-code/issues/5522
del nul이라고 하면 안되고
del \\?\c:\myfolder\nul 이라고 쳐야 지워짐
nul 위해 파일을 하나 만들었어 잘했지?
null공포에 nul까지 - dc App
윈도우에서 깃배시 쓰면 경로 변환 필요한 경우 간혹있음
음.. 역시 AI가 내 컴을 휘젓게 둬선 안 되겠꾼