brunch

You can make anything
by writing

C.S.Lewis

by 서오석 Nov 09. 2015

.gitignore 문제

Intellij에서 Commit 하면 자꾸 나오는 문제 해결 하기

원인은 git이 프로젝트 만들 때 gitignore 부분을 cache하기 때문에 이후에 추가한 ignore가 처리되지 않아서 생기는 문제임


git rm -rf --cached . 
git add . 
git commit 

캐시 삭제 후 다시 새로 추가된 파일을 add하면 문제 해결.


출처 : http://theeye.pe.kr/archives/2091 


매거진의 이전글 ActiveRecord와 Hibernate

작품 선택

키워드 선택 0 / 3 0

댓글여부

afliean
브런치는 최신 브라우저에 최적화 되어있습니다. IE chrome safari