[Git] git ignore 적용이 안되는 경우 (해결)
.gitignore파일에 추가해도 changes에 남아있는 경우
해결
git 파일 추적 해제
> git rm -r —cached .
파일 모두 add
> git add .
commit / push
> git commit -m "fixed untracked files"
> git push
git 파일 추적 해제
> git rm -r —cached .
파일 모두 add
> git add .
commit / push
> git commit -m "fixed untracked files"
> git push
Leave a comment