반응형

gitignore시 알아야할 것

1. ignore목록에 있어도 강제로 추가하고 싶은 경우
force옵션을 사용해야함
git add -f {파일명}

2. 버전관리 대상에 이미 포함되어있는 파일을 제외하고 싶은 경우
git rm -r --cached {파일명}


자동으로 .gitignore 만들어 주는 사이트.
https://www.toptal.com/developers/gitignore

반응형