Team/GIT
[ GIT ] git ignore 적용 안될 때
거북
2022. 11. 16. 10:01
ignore를 추가했는데 계속 파일들이 추가될 때
git의 캐시문제이므로 터미널에서 캐시 삭제 후 다시 커밋하면 된다.
git rm -r --cached .
git add .
git commit -m "remove source files"
git rm --cached filename
출처: https://novemberfirst.tistory.com/91
[GIT] git Ignore가 적용이 안될 때
ignore를 추가했는데 자꾸 계속 파일들이 추가될 때 git의 캐시문제 이므로 터미널을 열어서 캐시 삭제 후 다시 커밋하면 된다. git rm -r --cached . git add . git commit -m "remove source files" 추가로 git ignore파
novemberfirst.tistory.com