.gitignore
.gitignore 파일은 git에서 untracking 할 파일 목록이 들어있는 파일.
.gitignore 파일 생성하기
사용하는 IDE, 언어 입력하고 create
적용하고 싶은 프로젝트 최상위 디렉토리에서 .gitignore 파일 생성
touch .gitignore vi .gitignore
- 2에서 생성한 내용을 붙여넣기 하고 저장.
.gitignore 참조 https://github.com/github/gitignore
.gitignore 적용하기
git rm -r --cached .
git add .
git commit -m "Fixed untracked files"
출처
https://gmlwjd9405.github.io/2017/10/06/make-gitignore-file.html