donaricano-btn

gitignore 설정이 작동안 할 때


1. 원인

- .gitignore 설정파일을 생성한 후 ignore할 값들을 생성했지만 제대로 작동하지 않는다

2. 해결

- 기존 캐시된 값을 지우면 설정된다

1
2
3
git rm -r --cached .
git add .
git commit -m "delete cached"



'CM(ConfigurationManagement) > git' 카테고리의 다른 글

[git] 4. Remote config  (0) 2016.05.12
[git] 3. commit control  (0) 2016.05.09
[git] 2.Create a branch  (0) 2016.05.08
[git]1. Basic information  (0) 2016.05.08
블로그 이미지

리딩리드

,