.gitignore가 제대로 작동되지 않아서 ignore처리된 파일이 자꾸 changes에 나올때가 있습니다.
git의 캐시가 문제가 되는거라 아래 명령어로 캐시 내용을 전부 삭제후 다시 add All해서 커밋하시면 됩니다.
git rm -r --cached .
git add .
git commit -m "fixed untracked files"
https://jojoldu.tistory.com/307
.gitignore가 작동하지 않을때 대처법
.gitignore가 제대로 작동되지 않아서 ignore처리된 파일이 자꾸 changes에 나올때가 있습니다. git의 캐시가 문제가 되는거라 아래 명령어로 캐시 내용을 전부 삭제후 다시 add All해서 커밋하시면 됩니
jojoldu.tistory.com
'개인프로젝트 > 이슈정리' 카테고리의 다른 글
export 'withRouter' (imported as 'withRouter') was not found in 'react-router-dom' (1) | 2023.11.12 |
---|---|
Uncaught (in promise) Error: Illegal argument undefined (0) | 2023.11.12 |
defaultState for reducer handling [object Object] should be defined (0) | 2023.11.12 |
Command failed with exit code 127 (2) | 2023.11.12 |
Redux toolkit. Uncaught Error: uSES not initialized (0) | 2023.11.12 |