프로그래밍/기타
.gitignore 적용 안될때
SeanYoon
2021. 10. 15. 20:26
반응형
.gitignore 파일을 추가하거나 업데이트 했는데 적용이 안되는 경우가 있습니다.
이럴 때는 이렇게 해주시면 되요~
git add .
git rm -r --cached .
git commit -m 'remove ignored file'
# Push 할 것!
git push {remote} {branch}
반응형