위토즈 - 개발자프로그램판매공간

정보공유

[github] git add 폴더/파일 제외처리.

 

.gitignore 파일 생성 후

 

# 폴더

data/

 

#파일

test.php

t*.php 

 

 

git config 에 추가 

 

git config --global core.excludesfile ./.gitignore

 

 

잘 등록되었는지 확인

 

cat ~/.gitconfig