Git 끄적 끄적

매번 까먹어서 쓰는 gitignore 작성법

1. 현재 경로에 있는 파일 제외하기

/filename.js

 

2. 특정 폴더(node_module) 안의 파일 다 제외하기

node_module/