.gitignore 설정 파일을 처음부터 만들지 못해서 정상적인 ignore 처리가 안될 때 다음과 같이 처리한다.
$ git rm -r --cached .
$ git add .
$ git commit -m "git ignore appled"
$ git push
그리고, push 이후 다시 서버쪽에서 ignore 가 처리가 되면 다시 pull하고 push하면 깨끗하게 정리된다.
$ git pull
$ git add .
$ git commit -m "git ignore appled"
$ git push
'etc tools' 카테고리의 다른 글
[git] 스크립트 실행되게 하기 (change shell script to executable) (0) | 2015.09.03 |
---|---|
[gradle] proxy 설정하기 (0) | 2015.09.03 |
[git] git의 한글 브랜치 이름 지원 상태 (0) | 2014.11.11 |
Functional Test & Blackbox Test 툴로 쓰기 좋은 툴 - jmeter (0) | 2014.02.14 |
[maven] 깔끔한 pom.xml (0) | 2011.08.09 |