본문 바로가기
카테고리 없음

.gitignore가 작동하지 않을때

by 똘망파파 2021. 11. 10.

.gitignore가 제대로 작동하지 않을 때에는 캐시 삭제후 다시 커밋 진행하면 된다.

git rm -r --cached .
git add .
git commit -m "fixed untracked files"

https://stackoverflow.com/questions/25436312/gitignore-not-working

댓글