1. gitignore가 적용되지 않을 때
- git의 캐시를 삭제
- 현재 디렉토리의 모든 변경 내용을 스테이징 영역으로 옮긴다.
- 커밋
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git rm -r --cached . | |
git add . | |
git commit -m "new commit" |